From 18cea294c0815528910ac9c1831961d110d1a5b2 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Fri, 28 Jul 2023 16:40:00 +0800 Subject: [PATCH] ---fix bug --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 62cdad5c..f70e0a28 100644 --- a/src/main.js +++ b/src/main.js @@ -59,7 +59,7 @@ async function getUserPermission() { } async function getUserInfo() { const userInfo = await request(USER_INFO); - store.commit("SET_USER", userInfo.data.data); + store.commit("SET_USER", userInfo.data); } async function initDict(key) { const list = await getDictList(key);