mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
chore: prefer arrow function shorthand
This commit is contained in:
@@ -120,9 +120,7 @@ export default createComponent({
|
||||
class: null,
|
||||
};
|
||||
|
||||
const onInput = (value: string) => {
|
||||
emit('update:modelValue', value);
|
||||
};
|
||||
const onInput = (value: string) => emit('update:modelValue', value);
|
||||
|
||||
return (
|
||||
<Field
|
||||
|
Reference in New Issue
Block a user