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)) {