分类组件显示当前列表对应分类数量

This commit is contained in:
禺狨
2023-03-15 12:21:33 +08:00
parent 35ea9e8877
commit b54bf7646e
6 changed files with 60 additions and 19 deletions

View File

@@ -97,7 +97,11 @@ export const UploadImageButton = (props: PropsInterface) => {
>
<Row gutter={16}>
<Col span={4}>
<TreeCategory text={"图片"} onUpdate={(keys: any) => setCategoryIds(keys)} />
<TreeCategory
categoryCount={{}}
text={"图片"}
onUpdate={(keys: any) => setCategoryIds(keys)}
/>
</Col>
<Col span={20}>
<Row style={{ marginBottom: 24 }}>