1.unknown mutation type: setToken

不认识的setToken ,调用mutats中的函数要带命名空间的名字

2.ReferenceError: userProfile is not defined
bug原因:当前组件/页面没有导入userProfile 方法

解决:导入

持续更新.......
1.unknown mutation type: setToken

不认识的setToken ,调用mutats中的函数要带命名空间的名字

bug原因:当前组件/页面没有导入userProfile 方法

解决:导入

持续更新.......

被折叠的 条评论
为什么被折叠?