hotfix/2.9.10.2312.02
This commit is contained in:
parent
ffcb81650b
commit
8bcf268ed0
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue