From 2e4d56e2ed95cb0f336522216fedc37167fb446d Mon Sep 17 00:00:00 2001
From: liuwh <964324856@qq.com>
Date: Mon, 09 Sep 2024 15:26:15 +0800
Subject: [PATCH] 小程序代码提交
---
gz-customerSystem/src/components/ArcoUpload/index.jsx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gz-customerSystem/src/components/ArcoUpload/index.jsx b/gz-customerSystem/src/components/ArcoUpload/index.jsx
index 58c5ac1..b440f36 100644
--- a/gz-customerSystem/src/components/ArcoUpload/index.jsx
+++ b/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}//自定义
/>
--
Gitblit v1.8.0