mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-24 07:29:16 +08:00
fix(Button): missing click event param
This commit is contained in:
parent
d0848544d4
commit
cea2724321
@ -131,7 +131,7 @@ export default createComponent({
|
||||
nativeType,
|
||||
} = props;
|
||||
|
||||
const onClick = () => {
|
||||
const onClick = (event) => {
|
||||
if (!loading && !disabled) {
|
||||
emit('click', event);
|
||||
route();
|
||||
|
Loading…
x
Reference in New Issue
Block a user