gemercheung 1 rok temu
rodzic
commit
b71c7270b6
1 zmienionych plików z 1 dodań i 1 usunięć
  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 = "";
         }
       }
     },