From 12b97315f22eb3ed407cfc999da6b8ccf59749ca Mon Sep 17 00:00:00 2001 From: yu <191972707@qq.com> Date: Tue, 3 Nov 2026 13:28:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AA=97=E5=8F=A3=E5=AF=B9=E8=B1=A1?= =?UTF-8?q?=E8=AF=AD=E4=B9=89=E5=AD=97=E6=AE=B5(window=5Fobj/=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E5=AF=B9=E8=B1=A1)=E7=BB=9F=E4=B8=80=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=E9=80=89=E7=AA=97=E5=8F=A3=E6=8C=89=E9=92=AE,=20?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E4=BE=9D=E8=B5=96=E7=BB=84=E4=BB=B6=E5=89=8D?= =?UTF-8?q?=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/panels/Properties.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/panels/Properties.tsx b/src/renderer/src/panels/Properties.tsx index 7482ed3..91a4c8d 100644 --- a/src/renderer/src/panels/Properties.tsx +++ b/src/renderer/src/panels/Properties.tsx @@ -840,7 +840,9 @@ function FieldControl({ onChange={(event) => onChange(field.key, event.target.value)} /> - {isWindowTarget && /window_obj|match_title|title|window/i.test(field.key) && ( + {/* window_obj/窗口对象 等窗口标题语义字段直接给「选窗口」按钮(不依赖组件前缀); + 其余 Window_ 系组件的字段仍按前缀+关键词匹配 */} + {(/^(window_obj|窗口对象|窗口标题|window_title|match_title)$/i.test(field.key) || (isWindowTarget && /window|title/i.test(field.key))) && (