mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
chore: prefer arrow function shorthand
This commit is contained in:
@@ -289,9 +289,7 @@ export default createComponent({
|
||||
disabled,
|
||||
selected: index === state.index,
|
||||
}),
|
||||
onClick: () => {
|
||||
onClickItem(index);
|
||||
},
|
||||
onClick: () => onClickItem(index),
|
||||
};
|
||||
|
||||
const childData = {
|
||||
|
Reference in New Issue
Block a user