tree组件初步优化

This commit is contained in:
禺狨
2023-03-21 14:38:50 +08:00
parent 0f5e7fd9c1
commit 092cf2f69e
3 changed files with 7 additions and 20 deletions

View File

@@ -116,13 +116,12 @@ export const UploadImageButton = (props: PropsInterface) => {
></UploadImageSub>
</Col>
</Row>
{imageList.length === 0 && (
<Col span={24}>
<Empty description="暂无图片" />
</Col>
)}
<div className="image-list-box">
{imageList.length === 0 && (
<Col span={24}>
<Empty description="暂无图片" />
</Col>
)}
{imageList.map((item) => (
<div
key={item.id}