mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
fix(Button): missing click event param
This commit is contained in:
@@ -131,7 +131,7 @@ export default createComponent({
|
||||
nativeType,
|
||||
} = props;
|
||||
|
||||
const onClick = () => {
|
||||
const onClick = (event) => {
|
||||
if (!loading && !disabled) {
|
||||
emit('click', event);
|
||||
route();
|
||||
|
Reference in New Issue
Block a user