diff --git a/src/renderer/components/lyric/MusicFull.vue b/src/renderer/components/lyric/MusicFull.vue index ed18295aa..2e9951ab2 100644 --- a/src/renderer/components/lyric/MusicFull.vue +++ b/src/renderer/components/lyric/MusicFull.vue @@ -53,15 +53,15 @@ zIndex: 99999 }" > - - {{ item.name }} - {{ index < artistList.length - 1 ? ' / ' : '' }} - +
- - {{ item.name }} - {{ index < artistList.length - 1 ? ' / ' : '' }} - +
diff --git a/src/renderer/components/lyric/MusicFullMobile.vue b/src/renderer/components/lyric/MusicFullMobile.vue index 36521deea..579b8e8fe 100644 --- a/src/renderer/components/lyric/MusicFullMobile.vue +++ b/src/renderer/components/lyric/MusicFullMobile.vue @@ -34,9 +34,10 @@
- - {{ item.name }}{{ index < artistList.length - 1 ? ' / ' : '' }} - +
@@ -119,15 +120,12 @@

- - {{ item.name }} - {{ index < artistList.length - 1 ? ' / ' : '' }} - +

@@ -226,14 +224,12 @@

- - {{ item.name }}{{ index < artistList.length - 1 ? ' / ' : '' }} - +

diff --git a/src/renderer/components/player/MiniPlayBar.vue b/src/renderer/components/player/MiniPlayBar.vue index 3fd0e0912..8b0f4d711 100644 --- a/src/renderer/components/player/MiniPlayBar.vue +++ b/src/renderer/components/player/MiniPlayBar.vue @@ -18,14 +18,15 @@
- - {{ artists.name }}{{ artistsindex < artistList.length - 1 ? ' / ' : '' }} - +
diff --git a/src/renderer/components/player/MobilePlayBar.vue b/src/renderer/components/player/MobilePlayBar.vue index dcacebe76..99038e0ed 100644 --- a/src/renderer/components/player/MobilePlayBar.vue +++ b/src/renderer/components/player/MobilePlayBar.vue @@ -24,9 +24,10 @@

{{ playMusic.name }}

- - {{ artists.name }}{{ artistsindex < artistList.length - 1 ? ' / ' : '' }} - +
@@ -86,9 +87,10 @@ {{ playMusic.name }} - - - {{ artists.name }}{{ artistsindex < artistList.length - 1 ? ' / ' : '' }} - +
diff --git a/src/renderer/components/player/PlayBar.vue b/src/renderer/components/player/PlayBar.vue index c787e1f32..c3fde019b 100644 --- a/src/renderer/components/player/PlayBar.vue +++ b/src/renderer/components/player/PlayBar.vue @@ -71,14 +71,15 @@ zIndex: 99999 }" > - - {{ artists.name }}{{ artistsindex < artistList.length - 1 ? ' / ' : '' }} - + diff --git a/src/renderer/router/other.ts b/src/renderer/router/other.ts index 326cb0e8c..92e133c31 100644 --- a/src/renderer/router/other.ts +++ b/src/renderer/router/other.ts @@ -53,7 +53,8 @@ const otherRouter = [ showInMenu: false, back: true }, - component: () => import('@/views/artist/detail.vue') + component: () => import('@/views/artist/detail.vue'), + props: (route) => ({ key: route.params.id }) }, { path: '/bilibili/:bvid', diff --git a/src/renderer/store/modules/player.ts b/src/renderer/store/modules/player.ts index efa2c8c02..b68f84149 100644 --- a/src/renderer/store/modules/player.ts +++ b/src/renderer/store/modules/player.ts @@ -889,11 +889,7 @@ export const usePlayerStore = defineStore('player', () => { } // 如果是当前正在播放的音乐,则切换播放/暂停状态 - if ( - playMusic.value.id === song.id && - playMusic.value.playMusicUrl === song.playMusicUrl && - !song.isFirstPlay - ) { + if (playMusic.value.id === song.id && playMusic.value.playMusicUrl === song.playMusicUrl) { if (play.value) { setPlayMusic(false); audioService.getCurrentSound()?.pause();