From cea8ecc1e634dd944a03f9971193c288dd1368e2 Mon Sep 17 00:00:00 2001 From: Vce Date: Tue, 18 Jun 2024 09:53:48 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9pc=E9=87=87?= =?UTF-8?q?=E9=9B=86=E4=BA=BA=E8=84=B8=E5=88=A4=E6=96=AD=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/comboForm/dialogPage/laborDialog.vue | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/views/projectFront/laborManage/components/comboForm/dialogPage/laborDialog.vue b/src/views/projectFront/laborManage/components/comboForm/dialogPage/laborDialog.vue index b2ffd1d5..5918bb97 100644 --- a/src/views/projectFront/laborManage/components/comboForm/dialogPage/laborDialog.vue +++ b/src/views/projectFront/laborManage/components/comboForm/dialogPage/laborDialog.vue @@ -2810,12 +2810,6 @@ export default { this.$message.error("图片裁剪后大小不能超过200kb小于10kb,请重新裁剪或重新上传图片!"); return false; } - let imgSize = Number(res.data.data[0].fileInfo.size / 1024); - console.log('经过vueCropper裁剪后', imgSize); - if (imgSize <= 10 || imgSize >= 200) { - this.$message.error("图片裁剪后大小不能超过200kb小于10kb,请重新裁剪或重新上传图片!"); - return false; - } if (res.data.status == "SUCCESS") { if (this.isSzProject == 1) { this.checkImgLibrary(res.data.data[0].imageUrl);