diff --git a/src/components/Player.vue b/src/components/Player.vue index 7379f04..53c84fe 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -174,7 +174,7 @@ export default { progressMax() { let max = ~~(this.currentTrack.dt / 1000); return max > 1 ? max - 1 : max; - } + }, }, methods: { ...mapMutations([ diff --git a/src/components/TrackListItem.vue b/src/components/TrackListItem.vue index 88c5229..ab44583 100644 --- a/src/components/TrackListItem.vue +++ b/src/components/TrackListItem.vue @@ -127,7 +127,7 @@ export default { if (!this.track.playable) trackClass.push("disable"); if (this.isPlaying) trackClass.push("playing"); return trackClass; - } + }, }, methods: { goToAlbum() { diff --git a/src/utils/auth.js b/src/utils/auth.js index d1fd8ad..eb3c9bb 100644 --- a/src/utils/auth.js +++ b/src/utils/auth.js @@ -37,9 +37,5 @@ export function isUsernameLoggedIn() { // 账户登录或者用户名搜索都判断为登录,宽松检查 export function isLooseLoggedIn() { - console.log( - "isAccountLoggedIn() || isUsernameLoggedIn()", - isAccountLoggedIn(), "||", isUsernameLoggedIn() - ); return isAccountLoggedIn() || isUsernameLoggedIn(); } diff --git a/src/views/playlist.vue b/src/views/playlist.vue index ea99cf5..f7a6e59 100644 --- a/src/views/playlist.vue +++ b/src/views/playlist.vue @@ -46,8 +46,7 @@