This commit is contained in:
Yvan
2026-09-04 14:07:09 +08:00
parent af1e194396
commit 43db5e5450
22 changed files with 416 additions and 134 deletions
+1 -1
View File
@@ -61,7 +61,7 @@
const isRightSize = file.size / 1024 < props.fileSize
if (!isRightSize) {
// 压缩
const compress = new ImageCompress(file, props.fileSize, props.maxWH)
const compress = new ImageCompress(file, props.maxWH)
return compress.compress()
}
return isRightSize