摘要:
用vuex来对比来说明 写state commit mutation (mutable state) dispatch reducer (immutable state) 读state 组件实例能取到$store属性, 通过计算属性的方式拿到想要的state 用connet封装组件,state和di 阅读全文
posted @ 2019-04-26 15:33
natsu07
阅读(232)
评论(0)
推荐(0)
浙公网安备 33010602011771号