custom/上海港湾-多语言版本
This commit is contained in:
parent
9f9e973934
commit
54667dd07e
|
|
@ -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