From 2a1f53c755436a3ba75b4ab1c38b9519a0a0505a Mon Sep 17 00:00:00 2001 From: danshihao Date: Thu, 8 Aug 2024 10:50:33 +0800 Subject: [PATCH] =?UTF-8?q?[update=2088275]=20=E6=8B=86=E5=88=86=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E4=B8=8A=E4=BC=A0gif?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/lang/en-us.js | 2 +- src/common/lang/zh-cn.js | 2 +- src/components/splitUpload/SplitAddClauseUploadImage.vue | 2 +- .../documentSplit/modules/SplitDetailAddTypeCheck.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/lang/en-us.js b/src/common/lang/en-us.js index 765cab3..1672238 100644 --- a/src/common/lang/en-us.js +++ b/src/common/lang/en-us.js @@ -518,7 +518,7 @@ module.exports = { gotIt: 'Got It', formatRequirement: 'Format requirement', formatRequirementContentOne: '1.The imported document is in zip format', - formatRequirementContentTwo: '2.The images are in jpg, jpeg, png, gif format', + formatRequirementContentTwo: '2.The images are in jpg, jpeg, png format', formatRequirementContentThree: '3.The image in the document is displayed in the form of a link in the exported excel, click the link to jump to the specified local file', formatRequirementContentFour: '4.The table in the document is displayed in the form of a link in the exported excel. Click the link to jump to the specified sheet page', changePermissions: 'Change permissions', diff --git a/src/common/lang/zh-cn.js b/src/common/lang/zh-cn.js index a84f869..f3c33b6 100644 --- a/src/common/lang/zh-cn.js +++ b/src/common/lang/zh-cn.js @@ -518,7 +518,7 @@ module.exports = { gotIt: '知道了', formatRequirement: '格式要求', formatRequirementContentOne: '1.导入的文档是zip格式', - formatRequirementContentTwo: '2.图片为jpg、jpeg、png、gif格式', + formatRequirementContentTwo: '2.图片为jpg、jpeg、png格式', formatRequirementContentThree: '3.文档中的图片,在导出excel中以链接的形式展示,点击链接跳转到本地指定的文件', formatRequirementContentFour: '4.文档中的表格,在导出excel中以链接的形式展示,点击链接跳转到指定的sheet页面', changePermissions: '更改权限', diff --git a/src/components/splitUpload/SplitAddClauseUploadImage.vue b/src/components/splitUpload/SplitAddClauseUploadImage.vue index 4847b5b..33cc4c7 100644 --- a/src/components/splitUpload/SplitAddClauseUploadImage.vue +++ b/src/components/splitUpload/SplitAddClauseUploadImage.vue @@ -86,7 +86,7 @@ export default { // const fileTypes = this.accept.split('/') const fileNowTypes = file.type.split('/') // 修改判断方法 限制jpg\jpeg\png\gif 可以上传 其他不能上传。 - fileFlag = (['PNG', 'JPEG', 'PNG', 'GIF'].includes(fileNowTypes[1].toUpperCase())) + fileFlag = (['PNG', 'JPEG', 'PNG'].includes(fileNowTypes[1].toUpperCase())) // console.log('filetype',fileFlag) if (!fileFlag) { this.$message.warning(this.$t('uploadFile.fileFormatIncorrect')) diff --git a/src/views/documentTool/documentSplit/modules/SplitDetailAddTypeCheck.vue b/src/views/documentTool/documentSplit/modules/SplitDetailAddTypeCheck.vue index 3191cb5..7aed97b 100644 --- a/src/views/documentTool/documentSplit/modules/SplitDetailAddTypeCheck.vue +++ b/src/views/documentTool/documentSplit/modules/SplitDetailAddTypeCheck.vue @@ -128,7 +128,7 @@ export default { disabled: false, titleImg: this.$t('uploadPictures'), listType: 'picture', - accept: '.png,.jpeg,.jpg,.gif', + accept: '.png,.jpeg,.jpg', // 表格行列相关数据 rowColForm: {}, validatorRowColRules: {