提交 a7509f97 编写于 作者: fxy060608's avatar fxy060608

fix(v3): add args for hook event

上级 b173bbe3
...@@ -6867,7 +6867,7 @@ function callHook$2(hook, args) { ...@@ -6867,7 +6867,7 @@ function callHook$2(hook, args) {
} }
} }
if (vm._hasHookEvent) { if (vm._hasHookEvent) {
vm.$emit('hook:' + hook); vm.$emit('hook:' + hook, args);
} }
popTarget(); popTarget();
return ret return ret
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册