From d4a8eaf204c938275e7faec3980182387e5b8ca5 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 3 Mar 2023 14:06:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=83=8F=E7=B4=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../huizhili/AppCooperationPropaganda/addPropaganda.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue index 4d88c193..64a9ece6 100644 --- a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue +++ b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue @@ -319,9 +319,9 @@ export default { if (count > 9) { return this.$u.toast(`不能超过9个`) } - let maxImage = 10 * 1024 // 10M - let maxVideo = 10 * 1024 // 10M - let maxFile = 20 * 1024 // 20M + let maxImage = 10 * 1024 * 1024// 10M + let maxVideo = 10 * 1024 * 1024// 10M + let maxFile = 20 * 1024 * 1024// 20M if (res.tempFiles) { if(type == "image") { if(res.tempFiles.every(e=> e.size > maxImage)) {