gemercheung 1 năm trước cách đây
mục cha
commit
b71c7270b6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 = "";
         }
       }
     },