fix(Sku): change code style

This commit is contained in:
songweite
2020-07-07 16:45:45 +08:00
committed by neverland
parent 2472a647a4
commit ba16c6bff5
5 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ export default createComponent({
methods: {
afterReadFile(file) {
file.status = 'uploading';
file.message = '上传中...';
file.message = t('uploading');
this.uploadImg(file.file, file.content)
.then((img) => {
file.status = 'done';
@@ -43,7 +43,7 @@ export default createComponent({
})
.catch(() => {
file.status = 'failed';
file.message = '上传失败';
file.message = t('fail');
});
},