From 8dae74070e63cec1b2627a71f1f2d0e8dffc0e6a Mon Sep 17 00:00:00 2001 From: dminyi <1301963064@qq.com> Date: Sun, 08 Sep 2024 11:26:34 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh into master --- gz-customerSystem/src/components/ArcoUpload/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gz-customerSystem/src/components/ArcoUpload/index.jsx b/gz-customerSystem/src/components/ArcoUpload/index.jsx index e9f5cca..b440f36 100644 --- a/gz-customerSystem/src/components/ArcoUpload/index.jsx +++ b/gz-customerSystem/src/components/ArcoUpload/index.jsx @@ -29,9 +29,8 @@ const [myFileList, setMyFileList] = useState([]) const handleFileListChange = (fileList) => { - setMyFileList(fileList); if (props.onFileListChange) { - props.onFileListChange(fileList.length); + 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}//自定义 /> -- Gitblit v1.8.0