From 4ed1bac5a44bafffffca657435b48abced5e4833 Mon Sep 17 00:00:00 2001 From: PeterAlbus Date: Tue, 28 Feb 2023 15:35:56 +0800 Subject: [PATCH] Cancel music autoplay. --- src/components/MusicPlayer.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/MusicPlayer.vue b/src/components/MusicPlayer.vue index cf6c40c..660f26b 100644 --- a/src/components/MusicPlayer.vue +++ b/src/components/MusicPlayer.vue @@ -137,9 +137,9 @@ onMounted(() => { }) instance.lrc.toggle() instance.volume(0.1,true) - setTimeout(()=>{ - instance.play() - },5000) + // setTimeout(()=>{ + // instance.play() + // },5000) }) }) })