From eb8ded2565e746a360985f702c556b26f750d35a Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期二, 25 三月 2025 09:07:51 +0800
Subject: [PATCH] Merge branch 'devlop' of http://47.97.1.152:5880/r/wms-master into devlop

---
 rsf-admin/src/page/components/TreeSelectInput.jsx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rsf-admin/src/page/components/TreeSelectInput.jsx b/rsf-admin/src/page/components/TreeSelectInput.jsx
index 4140b94..8243ce1 100644
--- a/rsf-admin/src/page/components/TreeSelectInput.jsx
+++ b/rsf-admin/src/page/components/TreeSelectInput.jsx
@@ -14,7 +14,7 @@
     const [proxyVal, setProxyVal] = React.useState('');
 
     const record = useRecordContext()
-    const val = value || record[source];
+    const val = value || record?.[source];
 
     useEffect(() => {
         const http = async (resource) => {

--
Gitblit v1.9.1