1
0

feat(web): 完善confirmation快照页面

This commit is contained in:
2025-01-23 11:00:25 +08:00
parent 36c8959c01
commit e2b6b50497
14 changed files with 270 additions and 96 deletions

View File

@@ -92,11 +92,12 @@ export const size100MB = 104857600
export const size500MB = 524288000
export const size1GB = 1073741824
export function inputFileFormItemCommonOptions(accept = '*', maxSize = size5MB) {
export function inputFileFormItemCommonOptions(accept = '*', maxSize = size5MB, maxLength = undefined) {
return {
useChunk: true,
accept: accept,
maxSize: maxSize,
maxLength: maxLength,
autoUpload: false,
drag: true,
startChunkApi: apiPost('${base}/upload/start'),