From ccb55e5406a49d10b8a90d812299a34460908d74 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期四, 20 六月 2024 14:47:11 +0800 Subject: [PATCH] 1、登录验证修改 --- Source/plt-web/plt-web-ui/src/store/modules/user.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/store/modules/user.js b/Source/plt-web/plt-web-ui/src/store/modules/user.js index 6f14ce8..cc12802 100644 --- a/Source/plt-web/plt-web-ui/src/store/modules/user.js +++ b/Source/plt-web/plt-web-ui/src/store/modules/user.js @@ -71,7 +71,7 @@ commit('CLEAR_LOCK'); getUserInfo().then((res) => { - const data = res.data.data; + const data = res.data; commit('SET_USER_INFO', data.obj); }).catch(err => { console.log(err) -- Gitblit v1.9.3