md
This commit is contained in:
parent
5329244b30
commit
61a1b6a871
@ -183,7 +183,7 @@ export function getRemoteFile(url, params) {
|
|||||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||||
responseType: 'blob'
|
responseType: 'blob'
|
||||||
}).then(async (data) => {
|
}).then(async (data) => {
|
||||||
resolve(data.data)
|
resolve(data)
|
||||||
}).catch((r) => {
|
}).catch((r) => {
|
||||||
reject(error.toString())
|
reject(error.toString())
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user