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
@@ -33,7 +33,7 @@ export default {
notifyType: '通知类型',
customColor: '自定义颜色',
customNotify: '自定义配置',
customDuration: '自定义时长'
customDuration: '自定义时长',
},
'en-US': {
primary: 'Primary',
@@ -44,8 +44,8 @@ export default {
notifyType: 'Notify Type',
customColor: 'Custom Color',
customNotify: 'Custom Notify',
customDuration: 'Custom Duration'
}
customDuration: 'Custom Duration',
},
},
methods: {
@@ -57,24 +57,24 @@ export default {
this.$notify({
message: this.$t('customColor'),
color: '#ad0000',
background: '#ffe1e1'
background: '#ffe1e1',
});
},
showCustomDuration() {
this.$notify({
message: this.$t('customDuration'),
duration: 1000
duration: 1000,
});
},
showType(type) {
this.$notify({
message: this.$t('content'),
type
type,
});
}
}
},
},
};
</script>