@@ -98,6 +98,11 @@ export const CourseCatalog: React.FC = (props: any) => {
const allowLook = (item: any) => {
+ //全局免费观看
+ if(isVideoFree=='1'){
+ window.location.href = item.videoUrl
+ return
+ }
if (item.permission == 1) {
window.location.href = item.videoUrl
return