vuex 中五大核心以及map函数的应用
摘要:
什么是vuex? 我理解的vuex就是数据和状态的管理 如果在模块化构建系统中,请确保在开头调用了 Vue.use(Vuex) 五大核心: const store = new Vuex.Store({ state: { }, mutations: { } action:{ } getter:{ } module:{ } }) 1:state的使用... 阅读全文
posted @ 2018-12-13 15:24 田庚的博客园 阅读(3411) 评论(0) 推荐(0)
浙公网安备 33010602011771号