electron-vue 使用vuex的方法

在electron-vue中,使用vuex,调用this.$store.dispatch()发现函数并没有执行 原因:是因为electron-vue脚手架引入了vuex-electron这个插件,其中使用了createSharedMutations用于多进程之间数据共享,插件详见:https://github.com/vue-electron/vuex-electron#installation
相关文章
相关标签/搜索