liyanbo 8 месяцев назад
Родитель
Сommit
896dbf3aba
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/AIGeneralCourse.vue

+ 1 - 1
src/views/AIGeneralCourse.vue

@@ -291,7 +291,7 @@ const goBack = () => {
 
 
 const goToAIExperience = outlineData => {
 const goToAIExperience = outlineData => {
   if (localStorage.getItem('userName') === "aiTest") {
   if (localStorage.getItem('userName') === "aiTest") {
-    if (localStorage.getItem('selectedGradeId') !== "1" || outlineData.ctTypeSort !== 2) {
+    if (localStorage.getItem('selectedGradeId') !== "1" || outlineData.ctTypeSort !== "02") {
       Message().notifyWarning('您的账号并未开放此课程!', true)
       Message().notifyWarning('您的账号并未开放此课程!', true)
       return
       return
     }
     }