From d8351edf15a1e45f3a191df453a366d4ab88361d Mon Sep 17 00:00:00 2001 From: AIsouler Date: Tue, 12 Nov 2024 13:24:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A3=9E=E4=B9=A6):=20=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E7=B1=BB-=E8=87=AA=E5=8A=A8=E5=8F=91=E9=80=81=E5=8E=9F?= =?UTF-8?q?=E5=9B=BE=20(#494)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.ss.android.lark.ts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/apps/com.ss.android.lark.ts b/src/apps/com.ss.android.lark.ts index 5ea2c9e0..ba396222 100644 --- a/src/apps/com.ss.android.lark.ts +++ b/src/apps/com.ss.android.lark.ts @@ -28,11 +28,16 @@ export default defineGkdApp({ key: 11, name: '功能类-自动发送原图', desc: '发送图片时自动勾选"原图"', - activityIds: 'com.ss.android.lark.chatwindow.ChatWindowActivity', - fastQuery: true, - rules: - '@View[id$="original_photo"][checked=false] + [id="com.ss.android.lark:id/original_label"][text="原图"]', - snapshotUrls: 'https://i.gkd.li/i/12840551', + actionMaximum: 1, // 勾选节点 checkable=false,无法区分勾选前后 https://i.gkd.li/i/17711293 + rules: [ + { + fastQuery: true, + activityIds: '.chatwindow.ChatWindowActivity', + matches: '[vid="layout_original_photo"][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/c985a1e9-ea40-4911-a73f-8ef098909bce', + snapshotUrls: 'https://i.gkd.li/i/17711351', + }, + ], }, ], });