2017年11月17日

vue 状态管理vuex(九)

摘要: 通过props 及 $emit在父子组件通讯,对应频繁更新状态考虑使用vuex store.js 父组件.vue <template> <div> <child :message="changeMsg" @chageMsg="prent"></child> <input type="button" 阅读全文

posted @ 2017-11-17 18:36 爱拼才有钱 阅读(203) 评论(0) 推荐(0) 编辑

导航