소스 검색

1、修复aitest账号权限

liyanbo 10 달 전
부모
커밋
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 => {
   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
     }