]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
refactor(devtools): emit needs to send the instance in args
authorGuillaume Chau <guillaume.b.chau@gmail.com>
Mon, 24 Aug 2020 18:23:09 +0000 (20:23 +0200)
committerGuillaume Chau <guillaume.b.chau@gmail.com>
Mon, 24 Aug 2020 18:27:40 +0000 (20:27 +0200)
packages/runtime-core/src/devtools.ts

index 98ba3cd597cb70a612284277d21630b5309cde5c..61d3023799e929a3bab38c82ae2e5d096e09ffcf 100644 (file)
@@ -81,7 +81,7 @@ export function devtoolsComponentEmit(
   devtools.emit(
     DevtoolsHooks.COMPONENT_EMIT,
     component.appContext.app,
-    component.uid,
+    component,
     event,
     params
   )