From fd906256515175784cae74305f2270a6e0cec58e Mon Sep 17 00:00:00 2001 From: eoao Date: Sun, 9 Nov 2025 08:08:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=99=BB=E5=BD=95=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E5=8A=A0=E8=BD=BD=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mail-vue/src/router/index.js | 6 +++++- mail-vue/src/views/login/index.vue | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mail-vue/src/router/index.js b/mail-vue/src/router/index.js index 34affe8..4d75905 100644 --- a/mail-vue/src/router/index.js +++ b/mail-vue/src/router/index.js @@ -135,11 +135,15 @@ function loadBackground(next) { next() }; + setTimeout(() => { + console.warn("背景加载超时,已放行"); + next() + }, 3000) + } else { next() } - } router.afterEach((to) => { diff --git a/mail-vue/src/views/login/index.vue b/mail-vue/src/views/login/index.vue index dc7d953..b7fc4dd 100644 --- a/mail-vue/src/views/login/index.vue +++ b/mail-vue/src/views/login/index.vue @@ -1,5 +1,5 @@