Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

fix(淘宝): 将小组件添加到手机桌面误触 #3778

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/apps/com.taobao.taobao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,11 @@ export default defineAppConfig({
rules: [
{
action: 'clickCenter',
matches: 'View[text="立即添加"] + View[text="取消"]',
snapshotUrls: 'https://i.gkd.li/import/13598578',
matches: 'View[text="立即添加"] + View[text="取消"][height>20]',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View[childCount=2] >3 View[text="立即添加"] + View[text="取消"]

snapshotUrls: [
'https://i.gkd.li/import/13598578',
'https://i.gkd.li/import/13853510', //误触快照
],
},
],
},
Expand Down