修复导出问题

This commit is contained in:
liaozetao
2024-02-27 18:18:44 +08:00
committed by Dragon
parent cfeceed259
commit b900c5fe83
2 changed files with 12 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
import request from '@/utils/request';
import qs from 'qs';
import { genQueryParam } from '@/utils/system-helper';
// ==================================许愿礼物配置====================================
// 表单
@@ -70,9 +71,6 @@ export const promiseStarUserRecordPage = query => {
});
};
export const promiseStarUserRecordExport = query => {
return request({
url: '/admin/promiseStarUserRecord/export',
method: 'get',
data: query
});
window.location.href = `/admin/promiseStarUserRecord/export?${genQueryParam(query)}`
return;
};