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
+5 -5
View File
@@ -47,22 +47,22 @@ export default {
dashed: '虚线',
withText: '展示文本',
contentPosition: '内容位置',
customStyle: '自定义样式'
customStyle: '自定义样式',
},
'en-US': {
text: 'Text',
dashed: 'Dashed',
withText: 'With Text',
contentPosition: 'Content Position',
customStyle: 'Custom Style'
}
customStyle: 'Custom Style',
},
},
data() {
return {
BLUE
BLUE,
};
}
},
};
</script>
+4 -4
View File
@@ -27,7 +27,7 @@ function Divider(
class={bem({
dashed: props.dashed,
hairline: props.hairline,
[`content-${props.contentPosition}`]: slots.default
[`content-${props.contentPosition}`]: slots.default,
})}
{...inherit(ctx, true)}
>
@@ -40,12 +40,12 @@ Divider.props = {
dashed: Boolean,
hairline: {
type: Boolean,
default: true
default: true,
},
contentPosition: {
type: String,
default: 'center'
}
default: 'center',
},
};
export default createComponent<DividerProps>(Divider);