提交 ff85213f 编写于 作者: guangjun.yang's avatar guangjun.yang

解决登陆问题

上级 5d60d4e4
......@@ -292,11 +292,11 @@ export default {
// }
if (token && !info.id) {
this.commonCheckToken(() => {
this.$store.dispatch('setToken', this.token);
// this.$store.dispatch("getUserInfo");
});
return;
// this.commonCheckToken(() => {
// this.$store.dispatch('setToken', this.token);
this.$store.dispatch("getUserInfo");
// });
// return;
}
// 从登陆页面过来时
this.getGoodsInfo();
......@@ -474,7 +474,7 @@ export default {
if (!this.goodsId) {
return;
}
this.commonCheckToken(() => {
// this.commonCheckToken(() => {
this.GET(`trade/goods/goodInfoV3/${this.goodsId}`, {}).then(res => {
if (res.code == "000000") {
const goods = res.data;
......@@ -553,7 +553,7 @@ export default {
this.$toast(res.message);
}
});
});
// });
},
// 多件商品的价格
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册