feat: 增加音频服务的上一曲和下一曲功能

This commit is contained in:
alger
2025-03-22 10:37:57 +08:00
parent f9fd9afcdd
commit 8a414d0c25

View File

@@ -433,6 +433,14 @@ const setupAudioListeners = () => {
}
});
audioService.on('previoustrack', () => {
playerStore.prevPlay();
});
audioService.on('nexttrack', () => {
playerStore.nextPlay();
});
return clearInterval;
};