导出详细学习记录 - loading 更改 2

This commit is contained in:
gengxin
2025-03-03 18:57:41 +08:00
parent 4113c035b3
commit e2958b6f2a

View File

@@ -6,8 +6,8 @@ const mimeMap = {
xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
zip: 'application/zip' zip: 'application/zip'
} }
export function downLoadXlsx(str, filename) { export async function downLoadXlsx(str, filename) {
axios({ await axios({
method: 'get', method: 'get',
url: str, url: str,
responseType: 'blob', responseType: 'blob',