From c6d3cf68ed346d249dfcc7b90be26160de97195a Mon Sep 17 00:00:00 2001 From: yan Date: Sun, 15 Feb 2026 17:22:35 +0800 Subject: [PATCH] =?UTF-8?q?refactor(physical):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E5=87=BD=E6=95=B0=E5=AF=BC=E5=85=A5=E5=B9=B6?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=93=8D=E4=BD=9C=E5=BB=B6=E8=BF=9F=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 从 ./tool 模块导入 throwError 函数 - 将原粹树脂识别操作的延迟时间从 1000ms 增加到 2000ms --- repo/js/AutoPlanDomain/utils/physical.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repo/js/AutoPlanDomain/utils/physical.js b/repo/js/AutoPlanDomain/utils/physical.js index 569955c0f..2a8945ea1 100644 --- a/repo/js/AutoPlanDomain/utils/physical.js +++ b/repo/js/AutoPlanDomain/utils/physical.js @@ -1,4 +1,4 @@ -import {getJsonPath, toMainUi} from "./tool"; +import {getJsonPath, toMainUi,throwError} from "./tool"; //==================================================== const genshinJson = { width: 1920,//genshin.width, @@ -47,7 +47,7 @@ async function ocrPhysical(opToMainUi = false,openMap=false,minPhysical=20,isRes } } log.debug(`===开始识别原粹树脂===`) - let ms = 1000 // 定义操作延迟时间(毫秒) + let ms = 2000 // 定义操作延迟时间(毫秒) if (opToMainUi) { await toMainUi(); // 切换到主界面 }