Selaa lähdekoodia

refactor(devtools): emit needs to send the instance in args

Guillaume Chau 5 vuotta sitten
vanhempi
commit
410e7abbbb
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      packages/runtime-core/src/devtools.ts

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

@@ -81,7 +81,7 @@ export function devtoolsComponentEmit(
   devtools.emit(
   devtools.emit(
     DevtoolsHooks.COMPONENT_EMIT,
     DevtoolsHooks.COMPONENT_EMIT,
     component.appContext.app,
     component.appContext.app,
-    component.uid,
+    component,
     event,
     event,
     params
     params
   )
   )