测试ios打包

This commit is contained in:
Gao xiaosong
2020-10-18 23:32:59 +08:00
parent 0678e63760
commit 504da99b70
34 changed files with 21 additions and 19 deletions

View File

@ -47,12 +47,12 @@
cookie.set("spread", urlSpread);
}
}
// if (this.$deviceType == "app" || this.$deviceType == "weixinh5") {
// this.$yrouter.switchTab({
// path: "/pages/home/index"
// });
// return;
// }
if (this.$deviceType == "app" || this.$deviceType == "weixinh5") {
this.$yrouter.switchTab({
path: "/pages/home/index"
});
return;
}
if (this.$store.getters.token) {
// 如果token存在直接进行进页面
console.log('登录状态存在,直接进页面')