From 6e957352ec0782ca3e3a4f63ba9dba54f3367ec2 Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期一, 11 八月 2025 13:38:14 +0800
Subject: [PATCH] #

---
 rsf-admin/src/page/basicInfo/locArea/LocAreaCreate.jsx |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/rsf-admin/src/page/basicInfo/locArea/LocAreaCreate.jsx b/rsf-admin/src/page/basicInfo/locArea/LocAreaCreate.jsx
index 38ac67a..363386b 100644
--- a/rsf-admin/src/page/basicInfo/locArea/LocAreaCreate.jsx
+++ b/rsf-admin/src/page/basicInfo/locArea/LocAreaCreate.jsx
@@ -88,6 +88,7 @@
                                     <TextInput
                                         label="table.field.locArea.name"
                                         source="name"
+                                        validate={[required()]}
                                         parse={v => v}
                                         autoFocus
                                     />
@@ -107,6 +108,7 @@
                                         <AutocompleteInput
                                             label="table.field.locArea.areaId"
                                             optionText="name"
+                                            validate={[required()]}
                                             filterToQuery={(val) => ({ name: val })}
                                         />
                                     </ReferenceInput>

--
Gitblit v1.9.1