|
|
@@ -362,15 +362,15 @@ const goToAIExperience = outlineData => {
|
|
|
// }
|
|
|
|
|
|
// 检查是否是实操课的最后四节课
|
|
|
- if (showPracticalCourse.value && ClassOutlineScData.value.length > 0) {
|
|
|
- const totalLessons = ClassOutlineScData.value.length;
|
|
|
- const currentIndex = parseInt(outlineData.ctTypeSort);
|
|
|
- // 禁用最后四节课
|
|
|
- if (currentIndex > totalLessons - 4) {
|
|
|
- Message().notifyWarning('此课程暂未开放,敬请期待!', true)
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
+ // if (showPracticalCourse.value && ClassOutlineScData.value.length > 0) {
|
|
|
+ // const totalLessons = ClassOutlineScData.value.length;
|
|
|
+ // const currentIndex = parseInt(outlineData.ctTypeSort);
|
|
|
+ // // 禁用最后四节课
|
|
|
+ // if (currentIndex > totalLessons - 4) {
|
|
|
+ // Message().notifyWarning('此课程暂未开放,敬请期待!', true)
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // }
|
|
|
router.push({
|
|
|
path: '/ai-develop', // 跳转视频页面
|
|
|
query: { typeId: outlineData.id, typeName: outlineData.ctType, typeSort:outlineData.ctTypeSort }
|