forked from gzzfw/frontEnd/gzDyh

liuwh
2024-09-07 0485e2c28f0d62ec1026d385f992145b639a95ab
gz-customerSystem/src/components/ArcoUpload/index.jsx
@@ -29,7 +29,6 @@
  const [myFileList, setMyFileList] = useState([])
  const handleFileListChange = (fileList) => {
    setMyFileList(fileList);
    if (props.onFileListChange) {
      props.onFileListChange(fileList);
    }
@@ -82,8 +81,9 @@
            if (isDel && props.handleDelFile) {
              props.handleDelFile(response.data[0].id)
            }
            // setMyFileList(fileList)
            handleFileListChange(fileList);
            setMyFileList(fileList)
          }}
          {...props.params}//自定义
        />