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