mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
fix: bugs
This commit is contained in:
parent
6a64e73a2c
commit
d6be72f5ce
9 changed files with 27 additions and 29 deletions
|
|
@ -160,7 +160,7 @@ export default {
|
|||
.then(this.handleLoginResponse)
|
||||
.catch((error) => {
|
||||
this.processing = false;
|
||||
alert(error);
|
||||
alert(`发生错误,请检查你的账号密码是否正确\n${error}`);
|
||||
});
|
||||
} else {
|
||||
this.processing = this.validateEmail();
|
||||
|
|
@ -173,7 +173,7 @@ export default {
|
|||
.then(this.handleLoginResponse)
|
||||
.catch((error) => {
|
||||
this.processing = false;
|
||||
alert(error);
|
||||
alert(`发生错误,请检查你的账号密码是否正确\n${error}`);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
@ -188,7 +188,8 @@ export default {
|
|||
this.$router.push({ path: "/library" });
|
||||
} else {
|
||||
this.processing = false;
|
||||
alert(data.msg ?? data.message);
|
||||
console.log(data.msg);
|
||||
alert(data.msg ?? data.message ?? "账号或密码错误,请检查");
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue