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