From 564a26e330ddff8f5caea49078bbffa03615e931 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Wed, 24 Apr 2024 18:20:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ah-jjzhgd-web/src/views/basic/project/index.vue | 8 ++++---- ah-jjzhgd-web/src/views/man-car/staff/index.vue | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ah-jjzhgd-web/src/views/basic/project/index.vue b/ah-jjzhgd-web/src/views/basic/project/index.vue index 55d9261..544cf08 100644 --- a/ah-jjzhgd-web/src/views/basic/project/index.vue +++ b/ah-jjzhgd-web/src/views/basic/project/index.vue @@ -699,9 +699,9 @@ export default { }, // 图片上传 handleImageChange(file, fileList) { - const isLt2M = file.size / 1024 / 1024 < 2; + const isLt2M = file.size / 1024 / 1024 < 10; if (!isLt2M) { - this.$message.error('上传头像图片大小不能超过 2MB!'); + this.$message.error('上传平面图大小不能超过 10MB!'); fileList = fileList.slice(0,-1)//清除末尾 this.imageList = fileList this.handleValidateField('dataForm', 'imageList') @@ -712,9 +712,9 @@ export default { } }, handleImageChange2(file, fileList) { - const isLt2M = file.size / 1024 / 1024 < 2; + const isLt2M = file.size / 1024 / 1024 < 10; if (!isLt2M) { - this.$message.error('上传头像图片大小不能超过 2MB!'); + this.$message.error('上传图片大小不能超过 10MB!'); fileList = fileList.slice(0,-1)//清除末尾 this.imageList2 = fileList this.handleValidateField('dataForm', 'imageList2') diff --git a/ah-jjzhgd-web/src/views/man-car/staff/index.vue b/ah-jjzhgd-web/src/views/man-car/staff/index.vue index 2dc237c..3bd1da1 100644 --- a/ah-jjzhgd-web/src/views/man-car/staff/index.vue +++ b/ah-jjzhgd-web/src/views/man-car/staff/index.vue @@ -493,9 +493,9 @@ export default { this.$refs[name].validateField(type) }, handleImageChange(file, fileList) { - const isLt2M = file.size / 1024 / 1024 < 2; + const isLt2M = file.size / 1024 / 1024 < 10; if (!isLt2M) { - this.$message.error('上传头像图片大小不能超过 2MB!'); + this.$message.error('上传图片大小不能超过 10MB!'); fileList = fileList.slice(0,-1)//清除末尾 this.imageList = fileList this.handleValidateField('dataForm', 'imageList')