你可以在上传列表中禁用/隐藏带有showUploadList
的预览图标
<Upload
action="https://run.mocky.io/v3/435e224c-44fb-4773-9faf-380c5e6a2188"
listType="picture-circle"
fileList={fileList}
onChange={handleChange}
showUploadList={{
showPreviewIcon:false
}}
>
{fileList.length >= 8 ? null : uploadButton}
</Upload>