浏览代码

Update coursewarePlay.vue

lex-xin 8 月之前
父节点
当前提交
2bbab39dfa
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/views/coursewarePlay/coursewarePlay.vue

+ 2 - 0
src/views/coursewarePlay/coursewarePlay.vue

@@ -305,6 +305,8 @@ function filterPointList(pointList: any[], parentData?: { ids: string[]; name: s
    })
 }
 function handleChangeCourseware(index: -1 | 1) {
+   handleVideoPause()
+   handleSongPause()
    const newIndex = index + activeCoursewareIndex.value
    if (newIndex < 0 || newIndex > flattenCoursewareList.value.length - 1) {
       return