摘要: $emit : 子组件触发父组件方法 ref : 父组件调用子组件方法 现在有父子组件分别如下: Parent.vue <template> <div> <span>这里是父组件</span> <Child ref="child" v-bind:parentValue="parent" @editV 阅读全文
posted @ 2022-04-19 23:12 RookieCoderAdu 阅读(542) 评论(0) 推荐(0)