mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
fix: likelist does not change when account switching (#557)
This commit is contained in:
parent
021941d212
commit
64c56e33f0
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ export function doLogout() {
|
||||||
store.commit("updateData", { key: "user", value: {} });
|
store.commit("updateData", { key: "user", value: {} });
|
||||||
// 更新状态仓库中的登录状态
|
// 更新状态仓库中的登录状态
|
||||||
store.commit("updateData", { key: "loginMode", value: null });
|
store.commit("updateData", { key: "loginMode", value: null });
|
||||||
|
// 更新状态仓库中的喜欢列表
|
||||||
|
store.commit("updateData", { key: "likedSongPlaylistID", value: undefined });
|
||||||
}
|
}
|
||||||
|
|
||||||
// MUSIC_U 只有在账户登录的情况下才有
|
// MUSIC_U 只有在账户登录的情况下才有
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue