From 2625a255846cf1a25c4e1798ef04b5f9d6bc3379 Mon Sep 17 00:00:00 2001 From: fofolee Date: Wed, 11 Jun 2025 09:28:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DshowSystemList=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E9=80=9A=E8=BF=87=E5=9B=9E=E8=BD=A6=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/lib/dialog/controller.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/lib/dialog/controller.js b/plugin/lib/dialog/controller.js index 337a27d..0c2cba3 100644 --- a/plugin/lib/dialog/controller.js +++ b/plugin/lib/dialog/controller.js @@ -520,6 +520,10 @@ document.addEventListener("DOMContentLoaded", () => { if (dialogType === "textarea" && !e.ctrlKey) { return; } + // select 类型有自己的键盘处理器,不需要全局处理器处理 Enter 键 + if (dialogType === "select") { + return; + } document.getElementById("ok-btn").click(); } });