This commit is contained in:
linfso 2025-04-02 11:11:09 +08:00
parent 5329244b30
commit 61a1b6a871

View File

@ -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())
}) })