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