vue父子传值方式

$emit传值方式

props传值:

父组件:

方法一的popupMainTitle在data里面即可

子组件:

 

 

 

posted @ 2021-04-06 16:49  肥晨  阅读(94)  评论(0编辑  收藏  举报