hotfix/2.9.10.2312.02

This commit is contained in:
黎永顺 2023-12-19 16:18:44 +08:00
parent ffcb81650b
commit 8bcf268ed0
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ export const postExportFetch = (url, params) => {
params.access_token = localStorage.access_token;
}
url = server + url + "?__random__=" + (new Date()).valueOf();
return fetch(url, getFetchParams(method, params)).then(res => {
return fetch(url, getFetchParams("POST", params)).then(res => {
const filename = res.headers.get("Content-Disposition").split("filename=")[1];
res.blob().then(blob => {
const url = window.URL.createObjectURL(blob);