Document
  

this.$emit

this.emit(‘increment1',”参数”):触发自定义函数。
子组件可以通过其直接触发父组件自定义函数

posted @ 2020-11-11 16:31  半个失忆人  阅读(476)  评论(0)    收藏  举报