chore: prettier all tsx codes

This commit is contained in:
陈嘉涵
2020-01-19 17:22:33 +08:00
parent 08c84c9c38
commit f7c5f994dd
9 changed files with 70 additions and 31 deletions
+5 -1
View File
@@ -43,7 +43,11 @@ function Search(
) {
function Label() {
if (slots.label || props.label) {
return <div class={bem('label')}>{slots.label ? slots.label() : props.label}</div>;
return (
<div class={bem('label')}>
{slots.label ? slots.label() : props.label}
</div>
);
}
}