摘要: 方式1 Props 父组件代码 <template> <!-- 父组件 --> <div class="parent"> <Child :num="count" @handle="changeValue" /> <button @click="add">父组件的按钮</button> </div> 阅读全文
posted @ 2021-01-11 20:43 祁腾飞 阅读(14486) 评论(0) 推荐(0) 编辑