fix: bugs

This commit is contained in:
qier222 2021-04-26 15:38:39 +08:00
parent 603e39f362
commit 2c8ba10e20
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
7 changed files with 59 additions and 80 deletions

View file

@ -46,7 +46,7 @@
<div class="like-button">
<button-icon
:title="$t('player.like')"
@click.native="likeASong(player.currentTrack.id)"
@click.native="likeATrack(player.currentTrack.id)"
>
<svg-icon
v-show="!player.isCurrentTrackLiked"
@ -203,7 +203,7 @@ export default {
},
methods: {
...mapMutations(['toggleLyrics']),
...mapActions(['showToast', 'likeASong']),
...mapActions(['showToast', 'likeATrack']),
goToNextTracksPage() {
if (this.player.isPersonalFM) return;
this.$route.name === 'next'