ソースを参照

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

KL 1 ヶ月 前
コミット
f5162ca0c1
1 ファイル変更1 行追加1 行削除
  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,