From 16a09540001bd00f01b848f0ca125d16bf314450 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期五, 29 八月 2025 15:45:18 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/devlop' into devlop
---
rsf-admin/src/page/settings/SecuritySettings.jsx | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/rsf-admin/src/page/settings/SecuritySettings.jsx b/rsf-admin/src/page/settings/SecuritySettings.jsx
index 265e616..42aeaad 100644
--- a/rsf-admin/src/page/settings/SecuritySettings.jsx
+++ b/rsf-admin/src/page/settings/SecuritySettings.jsx
@@ -38,15 +38,15 @@
}
}, [userInfo, setValue])
- const onSubmit = (data) => {
+ const onSubmit = (params) => {
setLoading(true);
- requestResetPassword(data).then(res => {
+ requestResetPassword(params).then(res => {
setLoading(false);
const { code, msg, data } = res;
if (code === 200) {
notify(msg, { type: 'success', messageArgs: { _: msg } });
reset();
- } else if (code === 408) {
+ } else if (code === 10001) {
setError('oldPassword', {
message: msg,
});
--
Gitblit v1.9.1