vuex,文件夹整理
摘要:不多说直接上图 1,执行事件和调用 2添加模块 3模块内执行过程
阅读全文
posted @
2018-02-05 09:51
执候
阅读(147)
推荐(0) 编辑
vuex写法
摘要:{{count}} + - Increment if odd Increment async
阅读全文
posted @
2018-01-03 14:15
执候
阅读(254)
推荐(0) 编辑
vuex学习
摘要:使用vuex做简单的加减 效果 在组件中提交 Mutations 你可以在组件中使用 this.$store.commit('xxx') 提交 mutation,或者使用 mapMutations 辅助函数将组件中的 methods 映射为 store.commit 调用(需要在根节点注入 stor
阅读全文
posted @
2017-08-02 15:14
执候
阅读(170)
推荐(0) 编辑