✨ feat(upload): 支持后台配置上传分片大小

This commit is contained in:
orion committed 2026-09-18 17:50:43 +08:00
1 parent 5b78ec6fbc
commit 272741ee49
11 files changed
+64 -5

No files matched your search

+1
View File
@@ -64,6 +64,7 @@ export function useSendFlow() {
const sentRecordActions = createSentRecordActions(notifyCopyResult)
const { requestCancel, needsCleanup, retryCleanup, isUploadInterrupted, resetPresignUpload, submitFile, submitText } = useSendSubmit({
getMaxFileSize: () => configStore.uploadSizeLimit,
getChunkSizeMB: () => config.value.chunkSizeMB,
notify: (message, type) => alertStore.showAlert(message, type),
translate: t,
onProgress: (progress) => {