mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
fix(Button): missing click event param
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user