mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-24 15:39:15 +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,
|
nativeType,
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
const onClick = () => {
|
const onClick = (event) => {
|
||||||
if (!loading && !disabled) {
|
if (!loading && !disabled) {
|
||||||
emit('click', event);
|
emit('click', event);
|
||||||
route();
|
route();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user