|
@@ -54,7 +54,6 @@ export const Export = (that, params, message) => {
|
|
let objectUrl = URL.createObjectURL(blob);
|
|
let objectUrl = URL.createObjectURL(blob);
|
|
let link = document.createElement("a");
|
|
let link = document.createElement("a");
|
|
let fname = params.fileName || "导出文件.xlsx"; //下载文件的名字
|
|
let fname = params.fileName || "导出文件.xlsx"; //下载文件的名字
|
|
- console.log(params)
|
|
|
|
link.href = objectUrl;
|
|
link.href = objectUrl;
|
|
link.setAttribute("download", fname);
|
|
link.setAttribute("download", fname);
|
|
document.body.appendChild(link);
|
|
document.body.appendChild(link);
|