[vuex] unknown mutation type: XXX/XXX 报错解决方法

261 阅读1分钟

主要是新建的模块没有在 index.js中引入

image.png

如果getter拿不到值那么 就是在index.js 中没有引入

image.png