Przeglądaj źródła

update filename

CR013B2
Alex Cheung 1 miesiąc temu
rodzic
commit
f8b699158e
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      src/utils/HttpUtils.js

+ 2
- 2
src/utils/HttpUtils.js Wyświetl plik

@@ -69,9 +69,9 @@ export const postWithFiles = ({ url, params, files, onSuccess, onFail, onError }
});
};

export const fileDownload = ({ url, fileId, skey, filename, params, method, onResponse, onError }) => {
export const fileDownload = ({ url, fileId, skey, params, method, onResponse, onError }) => {
if (!url) {
url = FILE_DOWN_GET + "/" + fileId + "/" + skey + "/" + filename
url = FILE_DOWN_GET + "/" + fileId + "/" + skey
}
if (method == 'post') {
axios.post(url, params,


Ładowanie…
Anuluj
Zapisz