From c55a86895cabc3e91c2e7aa4eab099a7287e0ae6 Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期二, 21 四月 2026 14:54:16 +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