this.settings.content(popupContent)报错
因为content不是必须传的,所以要先判断content是否存在
this.settings.content ? this.settings.content(popupContent) : ''