From f22911d5eaf2cc7da49bd720853c229ecfaa32fa Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期五, 21 三月 2025 15:30:21 +0800
Subject: [PATCH] 库位修改,库位类型未空管
---
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