Fix:5873 【商城小程序】开屏广告持续时间改成5秒

This commit is contained in:
linxi
2026-08-25 12:20:08 +08:00
parent d5d85d2cd2
commit 59dec5c11c
+8 -15
View File
@@ -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);
}