2024年2月26日 延长导出时间
This commit is contained in:
parent
74015562e6
commit
e1532bd541
|
@ -21,7 +21,7 @@ export function useMethods() {
|
||||||
* @param url
|
* @param url
|
||||||
*/
|
*/
|
||||||
async function exportXls(name, url, params, isXlsx = false) {
|
async function exportXls(name, url, params, isXlsx = false) {
|
||||||
const data = await defHttp.get({ url: url, params: params, responseType: 'blob' }, { isTransformResponse: false });
|
const data = await defHttp.get({ url: url, params: params, responseType: 'blob', timeout: 9000000 }, { isTransformResponse: false });
|
||||||
if (!data) {
|
if (!data) {
|
||||||
createMessage.warning('文件下载失败');
|
createMessage.warning('文件下载失败');
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue