From 734068c685c031bd1cb5037aa389efb44dacb798 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Tue, 31 Oct 2023 13:46:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=99=BB=E5=BD=95=E6=8A=A5?= =?UTF-8?q?=E9=94=99=20Cannot=20destructure=20property=20"userlnfo'=20of?= =?UTF-8?q?=20(intermediate=20value)'=20as=20it=20is=20undefined.=20#812?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index ce14163..e75a7a0 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -190,7 +190,7 @@ export const useUserStore = defineStore({ //update-end---author:wangshuai ---date:20230424 for:【QQYUN-5195】登录之后直接刷新页面导致没有进入创建组织页面------------ // 当前页面打开 window.open(redirect, '_self') - return; + return data; } // update-end-author:sunjianlei date:20230306 for: 修复登录成功后,没有正确重定向的问题