Showing
1 changed file
with
1 additions
and
4 deletions
... | ... | @@ -91,12 +91,9 @@ export const saveDataViewList = (data: object) => { |
91 | 91 | */ |
92 | 92 | export const uploadFile = async (file: FormData, mode: ErrorMessageMode = 'modal') => { |
93 | 93 | return defHttp.post( |
94 | - { url: Api.FILE_UPLOAD, params: file, headers: { | |
95 | - 'Cache-Control' : 'no-cache', | |
96 | - } }, | |
94 | + { url: Api.FILE_UPLOAD, params: file}, | |
97 | 95 | { |
98 | 96 | errorMessageMode: mode |
99 | - | |
100 | 97 | } |
101 | 98 | ) |
102 | 99 | } | ... | ... |