mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
chore: prefer arrow function shorthand
This commit is contained in:
@@ -146,9 +146,7 @@ export default createComponent({
|
||||
}
|
||||
};
|
||||
|
||||
const onAnimationEnd = () => {
|
||||
emit(props.show ? 'show' : 'hide');
|
||||
};
|
||||
const onAnimationEnd = () => emit(props.show ? 'show' : 'hide');
|
||||
|
||||
const onPress = (text: string, type: KeyType) => {
|
||||
if (text === '') {
|
||||
|
Reference in New Issue
Block a user