fix: 将文件大小限制从100MB提高到1GB
修改上传文件大小限制以满足更大文件上传需求
This commit is contained in:
BIN
background/go.zip
Normal file
BIN
background/go.zip
Normal file
Binary file not shown.
@@ -165,8 +165,8 @@ async function uploadApp() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (appFile.size > 100 * 1024 * 1024) { // 限制100MB
|
if (appFile.size > 100 * 1024 * 1024 * 1024) { // 限制1000MB
|
||||||
message.textContent = '文件大小不能超过100MB!';
|
message.textContent = '文件大小不能超过1GB!';
|
||||||
message.style.color = '#ff0000';
|
message.style.color = '#ff0000';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user