Ver Fonte

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

KL há 1 mês atrás
pai
commit
f5162ca0c1
1 ficheiros alterados com 1 adições e 1 exclusões
  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,