From 82646705d6590c09b72fef2a45970fc32f469c1f Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期四, 22 五月 2025 16:12:08 +0800 Subject: [PATCH] 调度建议 调度历史 --- src/utils/download.ts | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/utils/download.ts b/src/utils/download.ts index 1d07484..943374b 100644 --- a/src/utils/download.ts +++ b/src/utils/download.ts @@ -50,7 +50,10 @@ a.download = 'image.png' a.click() } - } + }, + downloadFile: (data: Blob, fileName: string) => { + download0(data, fileName, 'application/octet-stream') + }, } export default download -- Gitblit v1.9.3