From 5780e5f1af54c87d84ff596110ea3f96f46ddf30 Mon Sep 17 00:00:00 2001 From: Traveler07 <88669636+Traveler07@users.noreply.github.com> Date: Tue, 30 Dec 2025 18:58:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E8=AE=BE=E7=BD=AE=E9=A1=B9=E3=80=90?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E5=BB=B6=E8=BF=9F=E3=80=91=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=B1=BB=E5=9E=8B=E8=BD=AC=E6=8D=A2=E3=80=82?= =?UTF-8?q?=E5=AF=B9=E3=80=90=E5=9F=BA=E4=BA=8E=E5=9B=BA=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E3=80=91=E6=B7=BB=E5=8A=A0=E5=BB=B6=E8=BF=9F=E3=80=82?= =?UTF-8?q?=20(#2594)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repo/js/AutoPermission/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repo/js/AutoPermission/main.js b/repo/js/AutoPermission/main.js index 9297f947b..2882e3298 100644 --- a/repo/js/AutoPermission/main.js +++ b/repo/js/AutoPermission/main.js @@ -1,7 +1,7 @@ (async function () { await genshin.returnMainUi(); let domainName = settings.domainName; - let operationDelay = settings.operationDelay?settings.operationDelay:1000; + let operationDelay = settings.operationDelay?Number(settings.operationDelay):1000; if(domainName===undefined){ domainName="不允许加入" } @@ -31,6 +31,7 @@ log.info("锁门"); break; } + await sleep(operationDelay); } else{ let tag = 0;