摘要: commit: 同步操作存储 this.$store.commit('changeValue',name) 取值 this.$store.state.changeValue dispatch: 异步操作存储 this.$store.dispatch('getlists',name) 取值 this. 阅读全文
posted @ 2020-04-08 18:31 donglt 阅读(26155) 评论(0) 推荐(1) 编辑