From 8c863d3f4300ce4061af872310dd95b0c3e8f474 Mon Sep 17 00:00:00 2001 From: xsx <825657193@qq.com> Date: Fri, 10 Jan 2025 00:08:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-uniapp/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/im-uniapp/App.vue b/im-uniapp/App.vue index ad55083..9b290f3 100644 --- a/im-uniapp/App.vue +++ b/im-uniapp/App.vue @@ -369,6 +369,8 @@ export default { }, onLaunch() { this.$mountStore(); + // 延迟1s,避免用户看到页面跳转 + this.closeSplashscreen(1000); // 登录状态校验 let loginInfo = uni.getStorageSync("loginInfo") this.refreshToken(loginInfo).then(() => { @@ -380,8 +382,6 @@ export default { uni.navigateTo({ url: "/pages/login/login" }) - // 延迟1s,避免用户看到页面跳转动画 - this.closeSplashscreen(1000); }) } }