diff --git a/app/src/main/kotlin/li/songe/gkd/service/A11yContext.kt b/app/src/main/kotlin/li/songe/gkd/service/A11yContext.kt index bb06774..55fbd16 100644 --- a/app/src/main/kotlin/li/songe/gkd/service/A11yContext.kt +++ b/app/src/main/kotlin/li/songe/gkd/service/A11yContext.kt @@ -541,7 +541,8 @@ class A11yContext( queryNode, selector, rule.matchOption, - ) ?: break + ) + if (resultNode != null) break } if (resultNode == null) return null }