this.$store.state.xxx在vue中使用时不一定正确,需要使用commit来改变state状态。
this.$store.state.xxx = xxx
猜你喜欢
转载自www.cnblogs.com/yangguanglei/p/12022003.html
今日推荐
周排行