Browse Source

1、修复aitest账号权限

liyanbo 8 tháng trước cách đây
mục cha
commit
896dbf3aba
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/AIGeneralCourse.vue

+ 1 - 1
src/views/AIGeneralCourse.vue

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