diff --git a/src/components/ImportBtn/index.jsx b/src/components/ImportBtn/index.jsx index 56aa2b8..57099d5 100644 --- a/src/components/ImportBtn/index.jsx +++ b/src/components/ImportBtn/index.jsx @@ -19,8 +19,8 @@ function ImportBtn(props) { const handleUploadChange = (file, fileList, e) => { + setFileList(file.fileList) if (file.file.status == 'done') { - setFileList(file.fileList) if (file.file.response.status == 20000) { setMsg(file.file.response?.message) } else {