From c482d0db65703e92f4addd89e4e28270a0ed631d Mon Sep 17 00:00:00 2001 From: dangsn <dangsn@chicecm.com> Date: 星期一, 24 六月 2024 13:57:06 +0800 Subject: [PATCH] 调整返回值 --- 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