Explorar o código

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

dezige131 hai 2 semanas
pai
achega
b453924d76
Modificáronse 1 ficheiros con 1 adicións e 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
                 };