From 1de539dddeeb1e0c145945d0c02ccaa9f6040401 Mon Sep 17 00:00:00 2001
From: fyy <2717885210@qq.com>
Date: Mon, 25 Aug 2025 17:04:41 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E9=9A=90=E8=97=8F=E5=AF=BC=E8=88=AA?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
apps/web-antd/src/layouts/basic.vue | 14 +-
apps/web-antd/src/store/auth.ts | 4 +-
.../src/authentication/authentication.vue | 158 ++++++++++--------
.../layouts/src/basic/header/header.vue | 9 +-
4 files changed, 98 insertions(+), 87 deletions(-)
diff --git a/apps/web-antd/src/layouts/basic.vue b/apps/web-antd/src/layouts/basic.vue
index f87a5fbd..61256dab 100644
--- a/apps/web-antd/src/layouts/basic.vue
+++ b/apps/web-antd/src/layouts/basic.vue
@@ -84,13 +84,13 @@ const menus = computed(() => {
// icon: CircleHelp,
// text: $t('ui.widgets.qa'),
// },
- {
- handler: () => {
- router.push('/navigation');
- },
- // icon: TagOutlined,
- text: '返回导航',
- },
+ // {
+ // handler: () => {
+ // router.push('/navigation');
+ // },
+ // // icon: TagOutlined,
+ // text: '返回导航',
+ // },
];
/**
* 租户选中状态 不显示个人中心
diff --git a/apps/web-antd/src/store/auth.ts b/apps/web-antd/src/store/auth.ts
index cdb33525..cd8c4b9f 100644
--- a/apps/web-antd/src/store/auth.ts
+++ b/apps/web-antd/src/store/auth.ts
@@ -56,9 +56,7 @@ export const useAuthStore = defineStore('auth', () => {
if (accessStore.loginExpired) {
accessStore.setLoginExpired(false);
} else {
- onSuccess
- ? await onSuccess?.()
- : await router.push('/navigation');
+ onSuccess ? await onSuccess?.() : await router.push('/analytics');
}
if (userInfo?.realName) {
diff --git a/packages/effects/layouts/src/authentication/authentication.vue b/packages/effects/layouts/src/authentication/authentication.vue
index 6dcac873..98378e4e 100644
--- a/packages/effects/layouts/src/authentication/authentication.vue
+++ b/packages/effects/layouts/src/authentication/authentication.vue
@@ -36,17 +36,17 @@ const { authPanelCenter, authPanelLeft, authPanelRight, isDark } =
usePreferences();
-->
@@ -122,22 +126,30 @@ const handleAccountLogin = async () => {
用户登录
@@ -158,13 +170,13 @@ const handleAccountLogin = async () => {
class="flex min-h-full flex-1 select-none overflow-x-hidden"
style="display: none;"
> -->
-
-
-
+
-
-
+
-
-
+
-
-
+
-
-
+