From 53411e80007ce3a1cc268141a4cf7495fa6d265a Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期五, 21 三月 2025 10:59:07 +0800
Subject: [PATCH] Merge branch 'devlop' of http://47.97.1.152:5880/r/wms-master into devlop
---
rsf-admin/src/page/components/DictionarySelect.jsx | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/rsf-admin/src/page/components/DictionarySelect.jsx b/rsf-admin/src/page/components/DictionarySelect.jsx
index 43dc811..2523c5d 100644
--- a/rsf-admin/src/page/components/DictionarySelect.jsx
+++ b/rsf-admin/src/page/components/DictionarySelect.jsx
@@ -9,7 +9,6 @@
const DictionarySelect = (props) => {
const { dictTypeCode, name, ...parmas } = props;
- const { selectedIds } = useListContext();
const translate = useTranslate();
const notify = useNotify();
const [list, setList] = useState([])
@@ -25,7 +24,7 @@
setList(res.data.data.records.map((item) => {
return {
id: item.value,
- name: item.value
+ name: item.label
}
}))
} else {
--
Gitblit v1.9.1