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
@@ -15,24 +15,24 @@ export default createComponent({
safeAreaInsetBottom: Boolean,
closeIcon: {
type: String,
default: 'cross'
default: 'cross',
},
closeIconPosition: {
type: String,
default: 'top-right'
default: 'top-right',
},
position: {
type: String,
default: 'center'
default: 'center',
},
overlay: {
type: Boolean,
default: true
default: true,
},
closeOnClickOverlay: {
type: Boolean,
default: true
}
default: true,
},
},
beforeCreate() {
@@ -71,7 +71,7 @@ export default createComponent({
class={bem({
round,
[position]: position,
'safe-area-inset-bottom': this.safeAreaInsetBottom
'safe-area-inset-bottom': this.safeAreaInsetBottom,
})}
onClick={this.onClick}
>
@@ -88,5 +88,5 @@ export default createComponent({
</div>
</transition>
);
}
},
});