Explorar o código

取消音乐的自动播放

任一存 %!s(int64=2) %!d(string=hai) anos
pai
achega
1c97f2f42b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/utils/sound.js

+ 1 - 1
src/utils/sound.js

@@ -23,7 +23,7 @@ const retryPlay = player => {
             return
         }
         CLICKFIRST = true
-        player.sound.play()
+        // player.sound.play()
     }
     const $player = document.querySelector('.ui-view-layout')
     $player.addEventListener('click', onclick)