Explorar el Código

fix:修复宜宾学院操作提醒取消后仍继续执行脚本的错误逻辑

KL hace 1 mes
padre
commit
f5162ca0c1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      resources/YIBINU/yibinu_01.js

+ 1 - 1
resources/YIBINU/yibinu_01.js

@@ -560,7 +560,7 @@ async function runImportFlow() {
     if(needExp === null) return;
     if (needExp === 0) {
         // 将数据传递给实验课页面
-        await reminderMotion();
+        if(!await reminderMotion()) return;
         const params = {
             theoryCourses,
             yearTerm,