|
@@ -107,7 +107,7 @@ const formOptions = ref<IDynamicFormOptions>({
|
|
|
});
|
|
|
|
|
|
const isSubmiting = ref(false);
|
|
|
-const isSuccess = ref(true);
|
|
|
+const isSuccess = ref(false);
|
|
|
|
|
|
const router = useRouter();
|
|
|
|
|
@@ -126,7 +126,7 @@ async function handleSubmit() {
|
|
|
newpassword: formModel.value.password,
|
|
|
});
|
|
|
message.success('修改密码成功');
|
|
|
-
|
|
|
+ isSuccess.value = true;
|
|
|
} catch (error) {
|
|
|
Modal.error({
|
|
|
title: '修改密码失败',
|