Fix:5873 【商城小程序】开屏广告持续时间改成5秒
This commit is contained in:
+8
-15
@@ -52,18 +52,15 @@ export default {
|
||||
}, 5000)
|
||||
return;
|
||||
}
|
||||
// 未登录:静默处理登录,5秒后跳转业务页面
|
||||
cookie.get("spread");
|
||||
// this.toLaunch();
|
||||
if (this.$deviceType == "app") {
|
||||
// this.toLaunch();
|
||||
this.$yrouter.switchTab({
|
||||
path: "/pages/home/index"
|
||||
});
|
||||
return;
|
||||
if (this.$deviceType != "app") {
|
||||
//检查授权信息
|
||||
this.checkUserInfo();
|
||||
}
|
||||
|
||||
//检查授权信息
|
||||
this.checkUserInfo();
|
||||
setTimeout(() => {
|
||||
this.toLaunch();
|
||||
}, 5000);
|
||||
},
|
||||
methods: {
|
||||
...mapActions(["changeAuthorization", "setUserInfo"]),
|
||||
@@ -89,11 +86,7 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
login(loginInfo).finally(() => {
|
||||
this.$yrouter.switchTab({
|
||||
path: "/pages/home/index"
|
||||
});
|
||||
});
|
||||
login(loginInfo);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user