去除测试log;修改购物车无法选中的问题

This commit is contained in:
Gaoxs
2020-09-28 11:02:36 +08:00
parent 4955c2198a
commit b61c95035e
6 changed files with 47 additions and 37 deletions

View File

@ -18,6 +18,7 @@
wxappAuth,
} from "@/api/user";
import dayjs from "dayjs";
import store from "@/store";
import cookie from "@/utils/store/cookie";
import {
parseQuery,
@ -34,7 +35,7 @@
return {};
},
onShow() {
console.log('getUser')
var url = handleQrCode();
if (!url) {
url = handleUrlParam(getCurrentPageUrlWithArgs())
@ -55,9 +56,7 @@
if (this.$store.getters.token) {
// 如果token存在直接进行进页面
console.log('登录状态存在,直接进页面')
this.getUser().finally(() => {
this.toLaunch();
})
this.toLaunch();
return;
}
console.log('进行登录操作')