摘要: dispatch:含有异步操作, 存储: this.$store.dispatch('setTargetUser',friend); 取值: this.$store.getters.TargetUser commit:同步操作, 存储: this.$store.commit('setTargetUs 阅读全文
posted @ 2020-01-02 12:27 Tommy_marc 阅读(3208) 评论(0) 推荐(0) 编辑