📜  vuejs 插槽事件 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:06.645000             🧑  作者: Mango

代码示例2
Emit event in slot: this.$parent.$emit(...)
Listen in wrapper/parent: this.$on(...)