fix(Button): missing click event param
This commit is contained in:
+1
-1
@@ -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