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

fix(h5): custom event arguments #1016

上级 6cfba0e5
......@@ -17,11 +17,11 @@ $event = $handleWxsEvent($event);
${expr}($event, $getComponentDescriptor())
`
} else {
expr = expr + '($event)'
expr = expr + '(...arguments)'
}
}
return `
$event = $handleEvent($event);
arguments[0] = $event = $handleEvent($event);
${expr}
`
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册