Explorar o código

feat(devtools): send instance

Guillaume Chau %!s(int64=5) %!d(string=hai) anos
pai
achega
3626ff07fe
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      packages/runtime-core/src/devtools.ts

+ 2 - 1
packages/runtime-core/src/devtools.ts

@@ -67,7 +67,8 @@ function createDevtoolsComponentHook(hook: DevtoolsHooks) {
       hook,
       component.appContext.app,
       component.uid,
-      component.parent ? component.parent.uid : undefined
+      component.parent ? component.parent.uid : undefined,
+      component
     )
   }
 }