From ccc5defb8924d04abe55301937d1650a51da593f Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 26 三月 2025 15:28:39 +0800
Subject: [PATCH] 仓库树状图添加Index属性,适配前端
---
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