From 96192a67dd9c89ef0ff457922e6c4c590e582d57 Mon Sep 17 00:00:00 2001 From: czm <2192718639@qq.com> Date: Wed, 8 Mar 2023 11:46:07 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(ID1001475=20=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E9=99=84=E4=BB=B6=E5=90=8E=EF=BC=8C=E5=86=8D=E5=A4=9A?= =?UTF-8?q?=E6=AC=A1=E7=82=B9=E5=87=BB=E4=B8=8A=E4=BC=A0=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E6=88=90=E5=8A=9F):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/deliveryDetail/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/deliveryDetail/index.tsx b/src/pages/deliveryDetail/index.tsx index c1c7375..c60ae16 100644 --- a/src/pages/deliveryDetail/index.tsx +++ b/src/pages/deliveryDetail/index.tsx @@ -77,10 +77,11 @@ const DeliveryDetail: FC = () => { const handleUploadChange = (imageList: string[]) => { console.log('imageList===>', imageList) - setReadyToUploadList(prev => [...prev, ...imageList]) + setReadyToUploadList(prev => [...imageList]) } // 上传附件 const handleUploadPic = useCallback(async() => { + console.log('readyToUploadList:::', readyToUploadList) const res = await uploadData({ id: Number(router.params.id), delivery_appendix: readyToUploadList,