Browse Source

update filename

CR013B2
Alex Cheung 1 month ago
parent
commit
f8b699158e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/utils/HttpUtils.js

+ 2
- 2
src/utils/HttpUtils.js View File

@@ -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) { if (!url) {
url = FILE_DOWN_GET + "/" + fileId + "/" + skey + "/" + filename
url = FILE_DOWN_GET + "/" + fileId + "/" + skey
} }
if (method == 'post') { if (method == 'post') {
axios.post(url, params, axios.post(url, params,


Loading…
Cancel
Save