国际化修改

This commit is contained in:
caoyang
2022-01-17 10:09:01 +08:00
parent 24ee90f38f
commit d95c9bb7b4
25 changed files with 602 additions and 332 deletions
@@ -54,7 +54,7 @@
text:{
type:String,
required:false,
default:"上传"
default:'上传'
},
/*这个属性用于控制文件上传的业务路径*/
bizPath:{
@@ -135,7 +135,7 @@
beforeUpload: function(file){
var fileType = file.type;
if(fileType.indexOf('image')<0){
this.$message.warning('请上传图片');
this.$message.warning(this.$t('uploadPictures'));
return false;
}
},
@@ -159,7 +159,7 @@
}
//this.$message.success(`${info.file.name} 上传成功!`);
}else if (info.file.status === 'error') {
this.$message.error(`${info.file.name} 上传失败.`);
this.$message.error(`${info.file.name} `+this.$t('UploadFailed'));
}else if(info.file.status === 'removed'){
this.handleDelete(info.file)
}