Explorar o código

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

KL hai 1 mes
pai
achega
f5162ca0c1
Modificáronse 1 ficheiros con 1 adicións e 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,