gemercheung 1 vuosi sitten
vanhempi
commit
b71c7270b6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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();
           unref(currentPlayer).stop();
         }
         }
         if (isSwitch) {
         if (isSwitch) {
-          currentPlayer.value = null;
+          unref(currentPlayer)._src = "";
         }
         }
       }
       }
     },
     },