|
@@ -2,7 +2,7 @@ import { ref, unref } from 'vue';
|
|
|
import { GetCoursewareContent_View } from '@/api/course';
|
|
|
import { Message } from 'element-ui';
|
|
|
|
|
|
-const categoryList = ['OC', 'AILP', 'NPC', 'NNPE', 'RLC'];
|
|
|
+const categoryList = ['OC', 'AILP', 'NPC', 'NNPE', 'RLC', 'NEW'];
|
|
|
|
|
|
/**
|
|
|
* 显示课件
|
|
@@ -47,6 +47,10 @@ export function useShowCourseware(courseId, groupId = '[]', previewType = 'previ
|
|
|
context.value = JSON.parse(content);
|
|
|
return;
|
|
|
}
|
|
|
+ if (category.value === categoryList[5]) {
|
|
|
+ context.value = JSON.parse(content);
|
|
|
+ return;
|
|
|
+ }
|
|
|
}
|
|
|
);
|
|
|
}
|