|
@@ -542,6 +542,12 @@ function handleCourseSearchClick(value: any) {
|
|
|
}
|
|
|
}
|
|
|
function handleCourseClick(value: any) {
|
|
|
+ console.log(value, "value")
|
|
|
+ const type = value.typeCode || value.type
|
|
|
+ if (type !== "VIDEO") {
|
|
|
+ handleVideoPause()
|
|
|
+ }
|
|
|
+
|
|
|
searchObj.search = searchObj.tempSearch ? JSON.parse(JSON.stringify(searchObj.tempSearch)) : ""
|
|
|
coursewareList.value = deepCopy(tempCoursewareList.value)
|
|
|
flattenCoursewareList.value = deepCopy(tempFlattenCoursewareList.value)
|
|
@@ -585,7 +591,6 @@ async function handleCourseMenuClick(value: any) {
|
|
|
// 切换之后默认打开课程目录
|
|
|
|
|
|
// }
|
|
|
-
|
|
|
drawerShow.value = true
|
|
|
})
|
|
|
LoadingBar.loading(false)
|