fix(微信): 订阅号规则冲突 (#334)

* fix(微信)

* fix 修复 key 6 与 key 8 相互干扰的问题
This commit is contained in:
Kun Jinkao
2023-09-25 00:36:30 +08:00
committed by GitHub
parent e07b0da04a
commit 7478ab8afe

View File

@@ -125,7 +125,7 @@ export default defineAppConfig({
key: 1, key: 1,
name: '点击广告反馈按钮', name: '点击广告反馈按钮',
matches: matches:
'View[childCount=1] >(5) [text="广告"] + [text="feedback_icon"][visibleToUser=true]', 'View[childCount=1] >(4) @[id="feedbackTagContainer"][visibleToUser=true] > [id=null][text="广告"]',
snapshotUrls: [ snapshotUrls: [
'https://gkd-kit.gitee.io/import/12642232', 'https://gkd-kit.gitee.io/import/12642232',
'https://gkd-kit.gitee.io/import/12646837', // key: 3 事件完成后,反馈按钮仍然存在,使用 View[childCount=1] 进行限定,防止频繁触发规则 'https://gkd-kit.gitee.io/import/12646837', // key: 3 事件完成后,反馈按钮仍然存在,使用 View[childCount=1] 进行限定,防止频繁触发规则
@@ -175,7 +175,7 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
matches: matches:
'View[childCount=1] > @[id="feedbackTagContainer"][visibleToUser=true]', 'View[childCount=1] > @[id="feedbackTagContainer"][visibleToUser=true] > [id="feedbackTag"]',
snapshotUrls: [ snapshotUrls: [
'https://gkd-kit.gitee.io/import/12700183', 'https://gkd-kit.gitee.io/import/12700183',
'https://gkd-kit.gitee.io/import/12701503', // 事件完成后,采用[childCount=1]进行限定,防止频繁触发规则 'https://gkd-kit.gitee.io/import/12701503', // 事件完成后,采用[childCount=1]进行限定,防止频繁触发规则