关闭分片上传
This commit is contained in:
parent
1650b67ece
commit
4f97c24715
|
@ -182,7 +182,7 @@ export default {
|
|||
if (currentRow) {
|
||||
// 当前上传进度归0
|
||||
currentRow.percentage = 0
|
||||
const _20M = 20 * 1024 * 1024 //设置超大文件判断关闭分片
|
||||
const _20M = 20000000000 * 1024 * 1024 //设置超大文件判断关闭分片
|
||||
if (file.size > _20M) { // 20M 以上分片上传
|
||||
this.uploadByPieces({ // 这里走分片上传逻辑
|
||||
file, // 文件信息
|
||||
|
|
Loading…
Reference in New Issue
Block a user