Commit 17246dbc by zhaochengxiang

标签样式

parent 29f73553
......@@ -93,7 +93,19 @@ const TagColumn = (props) => {
wordBreak: 'break-all'
}}
>
{ tagsContent }
{
(ownTags||[]).map((item, index) => {
return (
<Tag
key={index}
style={{ marginBottom: 5 }}
color={item.type==='public'?'#2db7f5':'volcano'}
>
{ item.name||'' }
</Tag>
);
})
}
</div>
}
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment