fix: 将文件大小限制从100MB提高到1GB

修改上传文件大小限制以满足更大文件上传需求
This commit is contained in:
2025-12-24 21:26:38 +08:00
parent b49fdeaa9d
commit 0daedc13f0
3 changed files with 2 additions and 2 deletions

View File

@@ -165,8 +165,8 @@ async function uploadApp() {
return;
}
if (appFile.size > 100 * 1024 * 1024) { // 限制100MB
message.textContent = '文件大小不能超过100MB';
if (appFile.size > 100 * 1024 * 1024 * 1024) { // 限制1000MB
message.textContent = '文件大小不能超过1GB';
message.style.color = '#ff0000';
return;
}