From d1b81ad018e749bbf0b99cbdd88b358b20e8f5d6 Mon Sep 17 00:00:00 2001 From: kezhijie Date: Tue, 31 Oct 2023 12:44:27 +0800 Subject: [PATCH] Update user.ts --- src/store/modules/user.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index 128961b..1248908 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -188,8 +188,8 @@ export const useUserStore = defineStore({ //update-begin---author:wangshuai ---date:20230424 for:【QQYUN-5195】登录之后直接刷新页面导致没有进入创建组织页面------------ if (redirect && goHome) { //update-end---author:wangshuai ---date:20230424 for:【QQYUN-5195】登录之后直接刷新页面导致没有进入创建组织页面------------ - router.push(redirect); - return; + window.open(redirect, '_self'); + return data; } // update-end-author:sunjianlei date:20230306 for: 修复登录成功后,没有正确重定向的问题