导出详细学习记录 - 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',
zip: 'application/zip'
}
export function downLoadXlsx(str, filename) {
axios({
export async function downLoadXlsx(str, filename) {
await axios({
method: 'get',
url: str,
responseType: 'blob',