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

View File

@@ -9,21 +9,21 @@ export default createComponent({
millisecond: Boolean,
time: {
type: Number,
default: 0
default: 0,
},
format: {
type: String,
default: 'HH:mm:ss'
default: 'HH:mm:ss',
},
autoStart: {
type: Boolean,
default: true
}
default: true,
},
},
data() {
return {
remain: 0
remain: 0,
};
},
@@ -34,14 +34,14 @@ export default createComponent({
formattedTime() {
return parseFormat(this.format, this.timeData);
}
},
},
watch: {
time: {
immediate: true,
handler: 'reset'
}
handler: 'reset',
},
},
activated() {
@@ -146,7 +146,7 @@ export default createComponent({
this.pause();
this.$emit('finish');
}
}
},
},
render() {
@@ -155,5 +155,5 @@ export default createComponent({
{this.slots('default', this.timeData) || this.formattedTime}
</div>
);
}
},
});