feat: support first bind update password (#2520)
This commit is contained in:
1 parent
2570788b46
commit
7379b68f9f
2 files changed
+8
-5
No files matched your search
@@ -314,10 +314,10 @@ const PersonalSetting = () => {
|
||||
};
|
||||
|
||||
const changePassword = async () => {
|
||||
if (inputs.original_password === '') {
|
||||
showError(t('请输入原密码!'));
|
||||
return;
|
||||
}
|
||||
// if (inputs.original_password === '') {
|
||||
// showError(t('请输入原密码!'));
|
||||
// return;
|
||||
// }
|
||||
if (inputs.set_new_password === '') {
|
||||
showError(t('请输入新密码!'));
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user