瀏覽代碼

Merge branch 'feature_241128_lujl' of http://git.cestong.com.cn/cecf/observe-admin into feature_241128_lujl

lujialiang 1 周之前
父節點
當前提交
775b862922
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/store/modules/auth/index.ts

+ 3 - 1
src/store/modules/auth/index.ts

@@ -113,7 +113,9 @@ export const useAuthStore = defineStore(SetupStoreId.Auth, () => {
   }
 
   async function getUserInfo() {
-    const { data: info, error } = await fetchGetUserInfo();
+    const {
+      data: { data: info, error }
+    } = await fetchGetUserInfo();
 
     if (!error) {
       // update store