This commit is contained in:
2026-03-17 23:41:49 +08:00
parent f0ecab4350
commit 69e96412ff
26 changed files with 662 additions and 903 deletions

View File

@@ -37,6 +37,10 @@ const download = {
json: (data: Blob, fileName: string) => {
download0(data, fileName, 'application/json')
},
// 下载纯文本方法
txt: (data: Blob, fileName: string) => {
download0(data, fileName, 'text/plain')
},
// 下载图片(允许跨域)
image: ({
url,