From 8e5d047a2acacea167d9da7259d32db727412d38 Mon Sep 17 00:00:00 2001 From: wang Date: Thu, 11 Jun 2026 14:09:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E9=99=86=E8=B7=B3=E8=BD=AC=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- smart-flow-web/src/views/system/login/login.vue | 3 ++- smart-flow-web/src/views/system/login2/login.vue | 3 ++- smart-flow-web/src/views/system/login3/login.vue | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/smart-flow-web/src/views/system/login/login.vue b/smart-flow-web/src/views/system/login/login.vue index 0dd8efa..b140f59 100644 --- a/smart-flow-web/src/views/system/login/login.vue +++ b/smart-flow-web/src/views/system/login/login.vue @@ -107,6 +107,7 @@ import googleIcon from '/@/assets/images/login/google-icon.png'; import { buildRoutes } from '/@/router/index'; + import { HOME_PAGE_PATH } from '/@/constants/system/home-const'; import { smartSentry } from '/@/lib/smart-sentry'; import { encryptData } from '/@/lib/encrypt'; import { h } from 'vue'; @@ -186,7 +187,7 @@ useDictStore().initData(dictRes.data); //构建系统的路由 buildRoutes(); - router.push('/home'); + router.push(HOME_PAGE_PATH); } catch (e) { if (e.data && e.data.code !== 0) { loginForm.captchaCode = ''; diff --git a/smart-flow-web/src/views/system/login2/login.vue b/smart-flow-web/src/views/system/login2/login.vue index 69240dc..7a5f5a0 100644 --- a/smart-flow-web/src/views/system/login2/login.vue +++ b/smart-flow-web/src/views/system/login2/login.vue @@ -88,6 +88,7 @@ import googleIcon from '/@/assets/images/login/google-icon.png'; import { buildRoutes } from '/@/router/index'; + import { HOME_PAGE_PATH } from '/@/constants/system/home-const'; import { smartSentry } from '/@/lib/smart-sentry'; import { encryptData } from '/@/lib/encrypt'; import { localSave } from '/@/utils/local-util.js'; @@ -147,7 +148,7 @@ useDictStore().initData(dictRes.data); //构建系统的路由 buildRoutes(); - router.push('/home'); + router.push(HOME_PAGE_PATH); } catch (e) { if (e.data && e.data.code !== 0) { loginForm.captchaCode = ''; diff --git a/smart-flow-web/src/views/system/login3/login.vue b/smart-flow-web/src/views/system/login3/login.vue index b1504fa..eeaf53e 100644 --- a/smart-flow-web/src/views/system/login3/login.vue +++ b/smart-flow-web/src/views/system/login3/login.vue @@ -91,6 +91,7 @@ import googleIcon from '/@/assets/images/login/google-icon.png'; import { buildRoutes } from '/@/router/index'; + import { HOME_PAGE_PATH } from '/@/constants/system/home-const'; import { smartSentry } from '/@/lib/smart-sentry'; import { encryptData } from '/@/lib/encrypt'; import { localSave } from '/@/utils/local-util.js'; @@ -150,7 +151,7 @@ useDictStore().initData(dictRes.data); //构建系统的路由 buildRoutes(); - router.push('/home'); + router.push(HOME_PAGE_PATH); } catch (e) { if (e.data && e.data.code !== 0) { loginForm.captchaCode = '';