mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 19:06:45 +08:00
导出详细学习记录 - loading 更改 2
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user