Browse Source

我解锁音频8

zhangyujun 3 years ago
parent
commit
cc3235e347
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/hooks/light/audio.ts

+ 1 - 1
src/hooks/light/audio.ts

@@ -27,7 +27,7 @@ export function useAudio() {
                alert("我解锁了")
                alert("我解锁了")
             })
             })
             sound.on('playerror',(err)=>{
             sound.on('playerror',(err)=>{
-                console.log(err)
+                alert(err)
              })
              })
             sound.once("load", function () {
             sound.once("load", function () {
                 let id = sound.play();
                 let id = sound.play();