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

feat(core): set default value for extras to {}

上级 33f1e2bc
......@@ -255,7 +255,7 @@ function wrapperExtras (name, extras) {
}
}
export function wrapper (name, invokeMethod, extras) {
export function wrapper (name, invokeMethod, extras = {}) {
if (!isFn(invokeMethod)) {
return invokeMethod
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册