gemercheung hai 1 ano
pai
achega
b71c7270b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/qjkankan-view/src/hooks/useAudio.js

+ 1 - 1
packages/qjkankan-view/src/hooks/useAudio.js

@@ -83,7 +83,7 @@ async function initDefaultAudio() {
           unref(currentPlayer).stop();
         }
         if (isSwitch) {
-          currentPlayer.value = null;
+          unref(currentPlayer)._src = "";
         }
       }
     },