Commit ccab3990 by zhaochengxiang

标签管理

parent 17246dbc
...@@ -71,14 +71,14 @@ const TagColumn = (props) => { ...@@ -71,14 +71,14 @@ const TagColumn = (props) => {
} }
let tagsContent = ''; // let tagsContent = '';
(ownTags||[]).forEach((item, index) => { // (ownTags||[]).forEach((item, index) => {
if (index === 0) { // if (index === 0) {
tagsContent = (item.name||''); // tagsContent = (item.name||'');
} else { // } else {
tagsContent += ',' + (item.name||''); // tagsContent += ',' + (item.name||'');
} // }
}) // })
return ( return (
<React.Fragment> <React.Fragment>
......
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