Explorar el Código

fix: 删除教师名后的多余字符

dezige131 hace 2 semanas
padre
commit
b453924d76
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      resources/NEAU/NEAU_01.js

+ 1 - 1
resources/NEAU/NEAU_01.js

@@ -104,7 +104,7 @@ async function runImportFlow() {
             courseInfo.timeAndPlaceList.forEach(tp => {
                 let courseObj = {
                     name: courseInfo.courseName || "未知课程",
-                    teacher: courseInfo.attendClassTeacher || "未知",
+                    teacher: (courseInfo.attendClassTeacher || "未知").replace(/\*/g, '').trim(),
                     isCustomTime: false
                 };