chore: prettier js codes

This commit is contained in:
陈嘉涵
2020-01-19 17:02:01 +08:00
parent 2adcfd8b8b
commit 1e864a445f
28 changed files with 333 additions and 174 deletions
+3 -1
View File
@@ -34,7 +34,9 @@ export default createComponent({
const inactiveIconSlot = this.slots('inactive-icon');
if (inactiveIcon || inactiveIconSlot) {
return inactiveIconSlot || <Icon class={bem('icon')} name={inactiveIcon} />;
return (
inactiveIconSlot || <Icon class={bem('icon')} name={inactiveIcon} />
);
}
return <i class={bem('circle')} />;