md
This commit is contained in:
parent
612e9b6202
commit
5329244b30
@ -181,7 +181,7 @@ export function getRemoteFile(url, params) {
|
||||
service.post(url, params, {
|
||||
transformRequest: [(params) => { return tansParams(params) }],
|
||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||
responseType: 'arraybuffer'
|
||||
responseType: 'blob'
|
||||
}).then(async (data) => {
|
||||
resolve(data.data)
|
||||
}).catch((r) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user