Skip to content

Commit ad24153

Browse files
author
hdx
committed
fix(createSelectorQuery:web:vue3): 页面多根节点无法查询的问题#26051
1 parent 7b2bc13 commit ad24153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/uni-h5/src/service/api/ui/requestComponentInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ function getNodesInfo(
339339
selector,
340340
fields,
341341
!single,
342-
component?.$.subTree
342+
(component || pageVm).$.subTree
343343
)
344344
//#endif
345345

0 commit comments

Comments
 (0)