This commit is contained in:
linfso 2025-04-02 10:52:32 +08:00
parent 612e9b6202
commit 5329244b30

View File

@ -181,7 +181,7 @@ export function getRemoteFile(url, params) {
service.post(url, params, { service.post(url, params, {
transformRequest: [(params) => { return tansParams(params) }], transformRequest: [(params) => { return tansParams(params) }],
headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
responseType: 'arraybuffer' responseType: 'blob'
}).then(async (data) => { }).then(async (data) => {
resolve(data.data) resolve(data.data)
}).catch((r) => { }).catch((r) => {