🔨 执行日志.

This commit is contained in:
lijiahang
2024-03-20 15:28:20 +08:00
parent 3d853eb7d4
commit 8a7976a4dd
9 changed files with 392 additions and 75 deletions

View File

@@ -87,7 +87,7 @@ export function getParentPath(path: string) {
/**
* 下载文件
*/
export function downloadFile(res: any, fileName: string) {
export function downloadFile(res: any, fileName: string = '') {
const blob = new Blob([res.data]);
const tempLink = document.createElement('a');
const blobURL = window.URL.createObjectURL(blob);