From 888f941ae16c850c0f1a844ec9436058840920bd Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期五, 24 四月 2026 09:19:02 +0800
Subject: [PATCH] 推送

---
 utils/dict.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/dict.js b/utils/dict.js
index a315fe6..dcd5382 100644
--- a/utils/dict.js
+++ b/utils/dict.js
@@ -16,7 +16,7 @@
     } else {
       try {
         const resp = await uni.$uapi.get("/system/dict/data/type/" + dictType);
-        res.value[dictType] = resp.map(p => ({
+        res.value[dictType] = resp.data.map(p => ({
           label: p.dictLabel,
           value: p.dictValue,
           elTagType: p.listClass,
@@ -29,7 +29,7 @@
       }
     }
   }
-  console.log(res.value.sys_user_sex,'2');
+  // console.log(res.value.sys_user_sex,'2');
   
   return toRefs(res.value);
 }
\ No newline at end of file

--
Gitblit v1.9.3