提交 227f7957 编写于 作者: guofeng.chen's avatar guofeng.chen

Merge branch 'dev-coursedetail-0817' of...

Merge branch 'dev-coursedetail-0817' of http://192.168.110.53/com.pica.cloud.education.frontend/pica-professional-exam into dev-coursedetail-0817
...@@ -359,7 +359,8 @@ export default { ...@@ -359,7 +359,8 @@ export default {
this.token = getCookie('token') || token; this.token = getCookie('token') || token;
// 如果有token,但没有用户信息,则获取用户信息 // 如果有token,但没有用户信息,则获取用户信息
if (this.token && !info.id) { if (this.token && !info.id) {
this.$store.dispatch('getUserInfo'); this.$store.dispatch('setToken', this.token);
// this.$store.dispatch('getUserInfo');
} }
this.queryByUuid(this.uuid); this.queryByUuid(this.uuid);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册