修改分片

This commit is contained in:
RenCheng 2025-03-04 19:25:25 +08:00
parent 385009015d
commit 290988a2e8

View File

@ -205,7 +205,7 @@ export default {
if (currentRow) {
// 0
currentRow.percentage = 0
const _20M = 20000000000 * 1024 * 1024 //
const _20M = 20 * 1024 * 1024 //
if (file.size > _20M) { // 20M
this.uploadByPieces({ //
file, //