From 60633a391e1840291272a6a678868620cfa915df Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期五, 17 四月 2026 10:11:22 +0800
Subject: [PATCH] 入库类型不会
---
rsf-admin/src/page/components/DictSelect.jsx | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/rsf-admin/src/page/components/DictSelect.jsx b/rsf-admin/src/page/components/DictSelect.jsx
index df17b17..6b21261 100644
--- a/rsf-admin/src/page/components/DictSelect.jsx
+++ b/rsf-admin/src/page/components/DictSelect.jsx
@@ -13,12 +13,13 @@
useEffect(() => {
http();
- }, [dictTypeCode]);
+ }, [dictTypeCode, group]);
const http = async () => {
const res = await request.post('/dictData/page', { dictTypeCode, group });
if (res?.data?.code === 200) {
- setList(res.data.data.records.map((item) => {
+ const rows = res.data.data.records || [];
+ setList(rows.map((item) => {
return {
value: item.value,
label: item.label
--
Gitblit v1.9.1