diff --git a/pages/components/SplashScreen.vue b/pages/components/SplashScreen.vue index 6bc6e3d..7d4e166 100644 --- a/pages/components/SplashScreen.vue +++ b/pages/components/SplashScreen.vue @@ -120,6 +120,7 @@ export default { if (this.hasShownSplash()) { console.log('开屏已显示过,跳过开屏动画') this.$emit('close') + this.closeSplash() return } diff --git a/subPages/login/login.vue b/subPages/login/login.vue index b2a2f20..b4a0fe5 100644 --- a/subPages/login/login.vue +++ b/subPages/login/login.vue @@ -203,10 +203,10 @@ export default { } } catch (error) { console.error('登录失败:', error); - uni.showToast({ - title: '登录失败,请重试', - icon: 'none' - }); + // uni.showToast({ + // title: '登录失败,请重试', + // icon: 'none' + // }); // #ifdef H5 // H5环境下如果登录失败,清除URL参数并重新加载页面