Skip to content

Commit 01d1ea4

Browse files
committed
Fix loosing <Root>
1 parent bd8f4ad commit 01d1ea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function scan () {
163163
if (typeof instance.__VUE_DEVTOOLS_ROOT_UID__ === 'undefined') {
164164
instance.__VUE_DEVTOOLS_ROOT_UID__ = ++rootUID
165165
}
166-
rootInstances.push(instance)
166+
rootInstances.push(instance.$root)
167167
}
168168

169169
return true

0 commit comments

Comments
 (0)