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

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

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