From 5cec398879f9c519f3503331d4502ebe21019926 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期五, 30 五月 2025 13:20:18 +0800 Subject: [PATCH] ai工业大模型代码生成 --- 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