feat: custom read file service (#2548)

This commit is contained in:
Archer
2024-08-28 11:35:06 +08:00
committed by GitHub
parent bebf565c06
commit 52cbfeace3
5 changed files with 63 additions and 21 deletions

View File

@@ -24,4 +24,6 @@ export const getPreviewFileContent = (data: PreviewContextProps) =>
POST<{
previewContent: string;
totalLength: number;
}>('/common/file/previewContent', data);
}>('/common/file/previewContent', data, {
timeout: 600000
});