(url: string)
| 1385 | }) |
| 1386 | }; |
| 1387 | const handleRemoveCloseIcon = (url: string) => { |
| 1388 | setImgList(imgList.filter((item) => item.url !== url)) |
| 1389 | } |
| 1390 | const handleChange: any = async ({ fileList: newFileList, file }: any) => { |
| 1391 | if (!file.url && !file.preview) { |
| 1392 | file.preview = await getBase64(file.originFileObj as FileType); |