PipeLineLems/web/src/api/file.ts
@@ -35,3 +35,16 @@ responseType: 'blob', }) } /** * 导出 post 请求 * @param data * @returns */ export const postExportFileToClient = ( url: string, params: Record<string, any> ) => { return request.post(url, params, { responseType: 'blob', }) }