Browse Source

添加暂停

lex-xin 5 months ago
parent
commit
a03401f66c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/coursewarePlay/component/video-play.tsx

+ 1 - 0
src/views/coursewarePlay/component/video-play.tsx

@@ -326,6 +326,7 @@ export default defineComponent({
       // 判断是否需要购买
       if(item.value.isLock) {
         handleShowVip(item.value.materialMusicId, "MUSIC")
+        onToggleAudio("pause")
         return
       }