From c4e6f5113be9f34caa3e7aad0376df1ad079d59b Mon Sep 17 00:00:00 2001 From: zhaoying Date: Thu, 15 Jan 2026 20:43:17 +0800 Subject: [PATCH] feat(web): change login jump address --- web/src/store/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/store/user.ts b/web/src/store/user.ts index 4d8fab35..28809e79 100644 --- a/web/src/store/user.ts +++ b/web/src/store/user.ts @@ -45,7 +45,7 @@ export const useUser = create((set, get) => ({ const response = res as User; set({ user: response }) if (flag) { - window.location.href = response.role && response.current_workspace_id ? '/#/' : '/#/space' + window.location.href = response.role && response.current_workspace_id ? '/#/' : '/#/index' } localStorage.setItem('user', JSON.stringify(response)) })