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: 修复登录成功后,没有正确重定向的问题