Skip to content

Commit

Permalink
fix(Button): missing click event param
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Aug 26, 2020
1 parent d084854 commit cea2724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/button/index.js
Expand Up @@ -131,7 +131,7 @@ export default createComponent({
nativeType,
} = props;

const onClick = () => {
const onClick = (event) => {
if (!loading && !disabled) {
emit('click', event);
route();
Expand Down

0 comments on commit cea2724

Please sign in to comment.