File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app-backend-vue3/src/components Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export type HookPayloads = {
47
47
}
48
48
[ Hooks . WALK_COMPONENT_TREE ] : {
49
49
componentInstance : ComponentInstance
50
- componentTreeData : ComponentTreeNode
50
+ componentTreeData : ComponentTreeNode [ ]
51
51
maxDepth : number
52
52
filter : string
53
53
}
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export class ComponentWalker {
45
45
*/
46
46
private findQualifiedChildren ( instance : any , depth : number ) {
47
47
if ( this . componentFilter . isQualified ( instance ) ) {
48
- return this . capture ( instance , null , depth )
48
+ return [ this . capture ( instance , null , depth ) ]
49
49
} else if ( instance . subTree ) {
50
50
// TODO functional components
51
51
return this . findQualifiedChildrenFromList ( this . getInternalInstanceChildren ( instance . subTree ) , depth )
You can’t perform that action at this time.
0 commit comments