From 1b4a0c00ea21292a6a1597b0e9d21979be71d403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Fri, 8 Mar 2024 17:19:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B0=E6=97=A7=E6=8B=86?= =?UTF-8?q?=E5=88=86=E5=8D=95=E5=AF=B9=E6=AF=94--=E5=85=A8=E6=96=87?= =?UTF-8?q?=E6=AF=94=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../splitUpload/SplitAddClauseUploadImage.vue | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/jero-web/src/components/splitUpload/SplitAddClauseUploadImage.vue b/jero-web/src/components/splitUpload/SplitAddClauseUploadImage.vue index 9834d1d..a367d91 100644 --- a/jero-web/src/components/splitUpload/SplitAddClauseUploadImage.vue +++ b/jero-web/src/components/splitUpload/SplitAddClauseUploadImage.vue @@ -22,7 +22,7 @@
{{this.$t('clickUpload')}}
+点击上传
@@ -80,7 +80,7 @@ export default { fileFlag = (fileTypes[0] === fileNowTypes[0]) // console.log('filetype',fileFlag) if (!fileFlag) { - this.$message.warning(this.$t('fileFormatIncorrect')) + this.$message.warning(this.$t('文件格式不正确,请上传图片格式文件')) this.fileTypeSatus = false } else { // let thisFileType = this.thisFileType.replace(/\s+/g, ""); @@ -114,7 +114,7 @@ export default { this.uploadFileFlag-- this.$emit('uploadSuccess', this.fileList) this.$message.destroy() - this.$message.warning(`${info.file.name} ` + this.$t('fileUploadFailed')) + this.$message.warning(`${info.file.name} ` + '上传失败') } else if (status === 'removed') { this.uploadFileFlag-- this.myFileList = info.fileList @@ -132,16 +132,15 @@ export default { } if (this.myFileList.length > 0) { this.$message.destroy() - this.$message.success(`${info.file.name} ` + this.$t('deletedSuccessfully')) + this.$message.success(`${info.file.name} ` + '删除成功') } } else if (status === 'done') { this.uploadFileFlag-- this.fileList = [] this.myFileList = info.fileList - console.log('listLength11111', info.fileList.length) if (info.fileList.length > 20) { this.$message.destroy() - this.$message.warning(this.$t('uploadMaximumATime')) + this.$message.warning(this.$t('最多上传20个图片')) info.fileList.splice(20) this.myFileList = info.fileList this.myFileList.forEach((res) => { @@ -167,7 +166,7 @@ export default { // console.log('uplossss',this.fileList,fileList) if (this.myFileList.length > 0) { this.$message.destroy() - this.$message.success(`${info.file.name} ` + this.$t('uploadSuccessful')) + this.$message.success(`${info.file.name} ` + this.$t('上传成功')) } } } else if (status === 'uploading') {