fix: lyrics won't scroll to top after switch track

This commit is contained in:
qier222 2021-01-15 14:46:19 +08:00
parent f3c8576bd4
commit cfc42be2db
3 changed files with 14 additions and 16 deletions

View file

@ -156,7 +156,7 @@ export default {
mounted() {
setInterval(() => {
this.progress = ~~this.player.seek();
}, 1000);
}, 500);
if (isAccountLoggedIn()) {
userLikedSongsIDs(this.data.user.userId).then((data) => {
this.updateLikedSongs(data.ids);