diff --git a/repo/js/AutoPlan/main.js b/repo/js/AutoPlan/main.js index bffe02036..aace459ad 100644 --- a/repo/js/AutoPlan/main.js +++ b/repo/js/AutoPlan/main.js @@ -176,7 +176,7 @@ async function autoLeyLineOutcrop(autoLeyLineOutcrop) { async function autoRunList(autoRunOrderList) { //计划执行 for (const item of autoRunOrderList) { - await sleep(1000) + await sleep(3000) if (item.runType === config.user.runTypes[0]) { await autoDomain(item.autoFight); } else if (item.runType === config.user.runTypes[1]) { diff --git a/repo/js/AutoPlan/utils/physical.js b/repo/js/AutoPlan/utils/physical.js index 27d1202c4..7a84092dd 100644 --- a/repo/js/AutoPlan/utils/physical.js +++ b/repo/js/AutoPlan/utils/physical.js @@ -49,10 +49,12 @@ async function ocrPhysical(opToMainUi = false,openMap=false,minPhysical=20,isRes log.debug(`===开始识别原粹树脂===`) let ms = 1000 // 定义操作延迟时间(毫秒) if (opToMainUi) { + await sleep(ms) await toMainUi(); // 切换到主界面 } if (openMap){ + await sleep(ms) //打开地图界面 await keyPress('M') }