父组件: 

子组件:  注意:有时候必须得要v-on 视情况而定 close即子组件需要触发的东西,不可更改

 

posted on 2018-08-10 18:29  鄢宁  阅读(161)  评论(0)    收藏  举报