unknown local action type: xxx, global type: xxx
unknown local action type: xxx, global type: xxx在带命名空间的模块内访问全局内容在带命名空间的模块内访问全局内容有时候我们在store下的js里分发 action 或提交 mutation,需要将{ root: true } 作为第三参数传给 dispatch 或 commit 即可vue的文档例子如下:还是要熟读文档啊!流下了不争气的泪水...
·
更多推荐
已为社区贡献1条内容
所有评论(0)