Explorar el Código

update filename

CR013B2
Alex Cheung hace 1 mes
padre
commit
f8b699158e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/utils/HttpUtils.js

+ 2
- 2
src/utils/HttpUtils.js Ver fichero

@@ -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,


Cargando…
Cancelar
Guardar