vue子组件触发父组件中的方法this.$emit()

在子组件中通过 this.$emit() 实现

子组件触发父组件中的方法

猜你喜欢

转载自blog.csdn.net/shulan5/article/details/104063075