feat: 优化数据表导出选择流程
This commit is contained in:
@@ -113,7 +113,7 @@ export async function download(url: string, body: unknown, filename: string): Pr
|
||||
throw new Error(await readError(response));
|
||||
}
|
||||
|
||||
await saveBlobResponse(response, filename);
|
||||
await saveBlobResponse(response, parseFilename(response.headers.get('content-disposition')) || filename);
|
||||
}
|
||||
|
||||
export async function downloadGet(url: string, fallbackFilename: string): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user