摘要: vue2中$emit $on $off实现组件之间的联动,使用computed钩子触发响应函数父组件改变,子组件随之改变,另附公共实例的爬坑之路。 阅读全文
posted @ 2018-07-26 09:41 kadima_zy 阅读(25099) 评论(1) 推荐(3) 编辑