This commit is contained in:
zlwu committed 2026-08-22 09:08:05 +08:00
1 parent 833544def3
commit 16be6fa22d
204 files changed
+455089 -46491

No files matched your search

+8 -2
View File
@@ -148,10 +148,16 @@ export async function checkConvert(id: number | string) {
return { data: unwrapData(res) }
}
export function exportClue(query?: ClueQuery) {
export function exportClue(data: Record<string, any> = {}) {
const { ids, columns, ...rest } = data
const body: Record<string, any> = {
...mapListQuery(rest as ClueQuery),
...(ids ? { ids } : {}),
...(columns ? { columns } : {})
}
return request.post({
url: `${BASE}/export`,
data: mapListQuery(query),
data: body,
responseType: 'blob',
showErrorMessage: false
})