标签:hang list round highlight span color get getters lists
commit: 同步操作
存储
this.$store.commit(‘changeValue‘,name)
取值
this.$store.state.changeValue
dispatch: 异步操作
存储
this.$store.dispatch(‘getlists‘,name)
取值
this.$store.getters.getlists
标签:hang list round highlight span color get getters lists
原文地址:https://www.cnblogs.com/donglt-5211/p/12661763.html