修改密码增加验证密码选项

This commit is contained in:
chc
2024-12-18 11:45:31 +08:00
parent bac8e3a327
commit 8bcc9de352
6 changed files with 222 additions and 3 deletions

View File

@@ -44,7 +44,7 @@
import {
sendMobile,
resetByMobile,
modifyPass
resetPassword
} from "@/api/login";
import {
@@ -144,7 +144,7 @@
});
return;
}
modifyPass({
resetPassword({
password: md5(this.password),
}).then((res) => {
if (res.data.success) {