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
79de3009ad
commit
b98d69af18
4 changed files with 42 additions and 24 deletions
|
|
@ -188,7 +188,9 @@ export default {
|
|||
setCookies(data.cookie);
|
||||
this.updateData({ key: 'user', value: data.profile });
|
||||
this.updateData({ key: 'loginMode', value: 'account' });
|
||||
this.$router.push({ path: '/library' });
|
||||
this.$store.dispatch('fetchLikedPlaylist').then(() => {
|
||||
this.$router.push({ path: '/library' });
|
||||
});
|
||||
} else {
|
||||
this.processing = false;
|
||||
nativeAlert(data.msg ?? data.message ?? '账号或密码错误,请检查');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue