$emit :
自定义事件$emit。使用$emit建立父子组件之间的通信。子组件到父组件之间的通信。
子组件:
父组件:
props传值:
编辑
方法一的popupMainTitle在data里面即可