fix: likelist does not change when account switching (#557)

master
Vidocq 4 years ago committed by GitHub
parent 021941d212
commit 64c56e33f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,6 +10,8 @@ export function doLogout() {
store.commit("updateData", { key: "user", value: {} });
// 更新状态仓库中的登录状态
store.commit("updateData", { key: "loginMode", value: null });
// 更新状态仓库中的喜欢列表
store.commit("updateData", { key: "likedSongPlaylistID", value: undefined });
}
// MUSIC_U 只有在账户登录的情况下才有

Loading…
Cancel
Save