摘要: 组件自定义事件之 .sync 修饰符 在没有 .sync 修饰符之前我们要对一个 prop 进行双向绑定。 可直接复制以下代码查看 <!--父组件模板--> <div id="app"> {{father}} <button @click="btnClick">父组件按钮</button> <son 阅读全文
posted @ 2021-01-18 20:43 懒惰ing 阅读(262) 评论(0) 推荐(0)