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
+10 -10
View File
@@ -14,25 +14,25 @@ export default createComponent({
safeAreaInsetBottom: Boolean,
value: {
type: [Number, String],
default: 0
default: 0,
},
border: {
type: Boolean,
default: true
default: true,
},
fixed: {
type: Boolean,
default: true
default: true,
},
zIndex: {
type: Number,
default: 1
}
default: 1,
},
},
watch: {
value: 'setActiveItem',
children: 'setActiveItem'
children: 'setActiveItem',
},
methods: {
@@ -47,7 +47,7 @@ export default createComponent({
this.$emit('input', active);
this.$emit('change', active);
}
}
},
},
render() {
@@ -58,12 +58,12 @@ export default createComponent({
{ [BORDER_TOP_BOTTOM]: this.border },
bem({
fixed: this.fixed,
'safe-area-inset-bottom': this.safeAreaInsetBottom
})
'safe-area-inset-bottom': this.safeAreaInsetBottom,
}),
]}
>
{this.slots()}
</div>
);
}
},
});