修改上传文件大小尺寸,修复任务问题

This commit is contained in:
2024-12-12 14:27:05 +08:00
parent d1e25e9545
commit a2039fe1e4
3 changed files with 5 additions and 4 deletions

View File

@@ -82,7 +82,7 @@ class ossClient {
// 设置并发上传的分片数量。
parallel: 8,
// 设置分片大小。默认值为1 MB最小值为100 KB。
partSize: 100 * 1024,
partSize: 1024 * 1024 *1 ,
mime: file.type
}
const {