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
@@ -27,7 +27,9 @@ export default createComponent({
const { align, justify } = this;
const flex = this.type === 'flex';
const margin = `-${Number(this.gutter) / 2}px`;
const style = this.gutter ? { marginLeft: margin, marginRight: margin } : {};
const style = this.gutter
? { marginLeft: margin, marginRight: margin }
: {};
return (
<this.tag