mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-05-17 10:27:30 +08:00
🔧 chore: 优化 MvPlayer 组件的关闭逻辑,简化音频暂停处理
This commit is contained in:
@@ -116,8 +116,7 @@ onMounted(async () => {
|
||||
|
||||
const handleShowMv = async (item: IMvItem, index: number) => {
|
||||
playerStore.setIsPlay(false);
|
||||
playerStore.setPlayMusic(false);
|
||||
audioService.getCurrentSound()?.pause();
|
||||
audioService.pause();
|
||||
showMv.value = true;
|
||||
currentIndex.value = index;
|
||||
playMvItem.value = item;
|
||||
|
||||
Reference in New Issue
Block a user