浏览代码

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

Guillaume Chau 5 年之前
父节点
当前提交
410e7abbbb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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(
     DevtoolsHooks.COMPONENT_EMIT,
     component.appContext.app,
-    component.uid,
+    component,
     event,
     params
   )