11
This commit is contained in:
1 parent
9f8d7a648a
commit
283a87dc51
3 files changed
+36
-41
No files matched your search
+6
-2
@@ -261,9 +261,13 @@ export function downBlobFile(url: any, query: any, fileName: string) {
|
||||
method: "get",
|
||||
responseType: "blob",
|
||||
params: query,
|
||||
}).then((response) => {
|
||||
handleBlobFile(response, fileName)
|
||||
})
|
||||
.then((response) => {
|
||||
handleBlobFile(response, fileName)
|
||||
})
|
||||
.catch((error) => {
|
||||
useMessage().error(error.msg || "下载失败")
|
||||
})
|
||||
}
|
||||
|
||||
export function postDownBlobFile(url: any, data: any, fileName: string) {
|
||||
|
||||
Reference in new issue
Block a user