Selaa lähdekoodia

feat(devtools): send instance

Guillaume Chau 5 vuotta sitten
vanhempi
commit
3626ff07fe
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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
     )
   }
 }