chore: add trailingComma

This commit is contained in:
陈嘉涵
2020-01-19 11:57:09 +08:00
parent e841175fe8
commit 389d68884d
269 changed files with 2706 additions and 2702 deletions
+8 -8
View File
@@ -79,8 +79,8 @@ function Search(
emit(ctx, 'search', props.value);
}
emit(ctx, 'keypress', event);
}
}
},
},
};
const inheritData = inherit(ctx);
@@ -103,7 +103,7 @@ function Search(
clearable={props.clearable}
scopedSlots={{
'left-icon': slots['left-icon'],
'right-icon': slots['right-icon']
'right-icon': slots['right-icon'],
}}
{...fieldData}
/>
@@ -121,20 +121,20 @@ Search.props = {
showAction: Boolean,
shape: {
type: String,
default: 'square'
default: 'square',
},
clearable: {
type: Boolean,
default: true
default: true,
},
background: {
type: String,
default: '#fff'
default: '#fff',
},
leftIcon: {
type: String,
default: 'search'
}
default: 'search',
},
};
export default createComponent<SearchProps, SearchEvents, SearchSlots>(Search);