From 90c5518f20ec11997b5085b7e644647c93a9eef7 Mon Sep 17 00:00:00 2001 From: yan Date: Sun, 15 Feb 2026 20:02:38 +0800 Subject: [PATCH] =?UTF-8?q?refactor(AutoPlan):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=89=A7=E8=A1=8C=E5=88=97=E8=A1=A8=E5=A4=84?= =?UTF-8?q?=E7=90=86=E5=87=BD=E6=95=B0=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将函数参数名从 autoDomainOrderList 更改为 autoRunOrderList - 更新函数注释描述以匹配新的通用功能 - 修改循环变量引用以使用新的参数名称 - 调整函数逻辑以支持更广泛的自动配置类型 --- repo/js/AutoPlan/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/repo/js/AutoPlan/main.js b/repo/js/AutoPlan/main.js index 9bf3a4b3d..21abe49b3 100644 --- a/repo/js/AutoPlan/main.js +++ b/repo/js/AutoPlan/main.js @@ -91,12 +91,12 @@ async function autoDomain(autoFight) { /** - * 自动执行秘境任务列表处理函数 - * @param {Array} autoDomainOrderList - 包含秘境自动配置的数组 + * 自动执行列表处理函数 + * @param {Array} autoRunOrderList - 包含自动配置的数组 */ -async function autoRunList(autoDomainOrderList) { +async function autoRunList(autoRunOrderList) { //计划执行 - for (const item of autoDomainOrderList) { + for (const item of autoRunOrderList) { if (item.runType===config.user.runTypes[0]){ await autoDomain(item.autoFight); }else if (item.runType===config.user.runTypes[1]){