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

fix: $dispatch warning

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