diff --git a/src/packages/uploader/preview.tsx b/src/packages/uploader/preview.tsx index 29b067bcc4..d21cd5730f 100644 --- a/src/packages/uploader/preview.tsx +++ b/src/packages/uploader/preview.tsx @@ -1,6 +1,8 @@ import React from 'react' import { Del, Failure, Link as LinkIcon, Loading } from '@nutui/icons-react' import Progress from '@/packages/progress' + +import Image from '@/packages/image' import { FileItem } from '@/packages/uploader/file-item' import { ERROR } from '@/packages/uploader/upload' @@ -59,7 +61,7 @@ export const Preview: React.FunctionComponent = ({ {item.type?.includes('image') ? ( <> {item.url && ( - = ({ ) : ( <> {previewUrl ? ( -