ruoyi-ui/src/components/ImageUpload/index.vue
@@ -133,6 +133,10 @@ this.$modal.msgError(`文件格式不正确, 请上传${this.fileType.join("/")}图片格式文件!`); return false; } if (file.name.includes(',')) { this.$modal.msgError('文件名不正确,不能包含英文逗号!'); return false; } if (this.fileSize) { const isLt = file.size / 1024 / 1024 < this.fileSize; if (!isLt) {