From e07acdc2619750cff37c975740408789e0814c42 Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期一, 10 二月 2025 08:31:27 +0800
Subject: [PATCH] #
---
rsf-admin/src/page/settings/BaseSettings.jsx | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/rsf-admin/src/page/settings/BaseSettings.jsx b/rsf-admin/src/page/settings/BaseSettings.jsx
index bb680be..775e0d5 100644
--- a/rsf-admin/src/page/settings/BaseSettings.jsx
+++ b/rsf-admin/src/page/settings/BaseSettings.jsx
@@ -26,7 +26,19 @@
const notify = useNotify();
const { children, userInfo } = props;
- const { control, handleSubmit, watch, setValue, getValues, formState: { isDirty } } = useForm();
+ const {
+ control,
+ handleSubmit,
+ watch,
+ setValue,
+ getValues,
+ reset,
+ formState: {
+ errors,
+ isDirty,
+ }
+ } = useForm();
+
const [loading, setLoading] = useState(false);
useEffect(() => {
--
Gitblit v1.9.1