From 1a9530904d2943c2754d31f70f8a00e3b6139304 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Mon, 9 Sep 2024 13:29:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=B3=BB=E7=BB=9F=E8=BF=81?= =?UTF-8?q?=E7=A7=BB=E6=8F=90=E7=A4=BA=E7=9A=84=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/components/LoginForm.vue | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/login/components/LoginForm.vue b/src/views/login/components/LoginForm.vue index d599aec05..578cd990c 100644 --- a/src/views/login/components/LoginForm.vue +++ b/src/views/login/components/LoginForm.vue @@ -241,16 +241,6 @@ // 登录 const handleLogin = async () => { console.log('登录-185') - if(getSystermUpdateAlert()=='true'||getSystermUpdateAlert()===true){ - await ElMessageBox.alert( - '系统迁移,请移步至' + - `${getSystermUpdateUrl()}`, - '重要提示', - { - dangerouslyUseHTMLString: true, - } - ) - } loginLoading.value = true try { @@ -297,6 +287,16 @@ authUtil.removeLoginForm() } authUtil.setToken(res) + if(getSystermUpdateAlert()=='true'||getSystermUpdateAlert()===true){ + await ElMessageBox.alert( + '系统迁移,请移步至' + + `${getSystermUpdateUrl()}`, + '重要提示', + { + dangerouslyUseHTMLString: true, + } + ) + } if (!redirect.value) { redirect.value = '/' }