diff --git a/web/client/src/sections/service/components/recordModal.jsx b/web/client/src/sections/service/components/recordModal.jsx index dc9cb10..6e2693d 100644 --- a/web/client/src/sections/service/components/recordModal.jsx +++ b/web/client/src/sections/service/components/recordModal.jsx @@ -20,8 +20,7 @@ const RecordModal = (props) => { useEffect(() => { setEndTime(recordRow?.solvingTime) setStartTime(recordRow?.occurrenceTime) - console.log('recordRow', recordRow) - + setUploadData(recordRow?.files || []) }, [recordRow]) const cancelHandler = () => { onClose() @@ -136,6 +135,7 @@ const RecordModal = (props) => { ({ url: `/_file-server/${v.url}`, name: v.name, status: 'success', preview: ['png','jpg'].includes(v.name?.split('.')?.pop()?.replace('.', '')), })) || []} accept={'.txt, .doc, .docx, .xls, .xlsx, .pdf, .png, .jpg, .rar, .zip'} limit={1} maxSize={51200}