修改打包报错

This commit is contained in:
GGJ
2025-12-19 14:05:56 +08:00
parent dc32cc3bb7
commit a67535abbf
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
import { downloadFile } from '@/api/system-boot/file'
// 下载文件
export const download = (urls: string) => {
console.log("🚀 ~ download ~ urls:", urls)
downloadFile({ filePath: urls }).then((res: any) => {
let blob = new Blob([res], {
type: urls.includes('.pdf')