提交 65d33f92 编写于 作者: Y yurj26

fix: $dispatch warning

上级 6cd622c3
......@@ -12,10 +12,10 @@ export function $dispatch(
while (parent != null && (name == null || componentName != name)) {
parent = parent.$parent
if (parent != null) {
name = parent.$options?.name
name = parent.$options.name
}
}
if (parent != null) {
parent.$callMethod(eventName, ...params)
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册