Parcourir la source

Merge pull request #210 from CialloM/main

fix:修复宜宾学院操作提醒取消后仍继续执行脚本的错误逻辑
星河欲转 il y a 1 mois
Parent
commit
51067ad058
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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,