Browse Source

fix -> 修改字段名称

Young 1 year ago
parent
commit
1c0662cbda
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/tags/index.js

+ 1 - 1
src/pages/tags/index.js

@@ -20,7 +20,7 @@ const TagsList = (props) => {
                 {list.length > 0 ?list.map((item, index) => {
                     return (
                         <Tag color={color[getrand(0, color.length - 1)]} key={index}>
-                            <Link to={'/tags/' + item.id}>{item.name}({item.postsTotal})</Link>
+                            <Link to={'/tags/' + item.id}>{item.name}({item.postCnt})</Link>
                         </Tag>
                     )
                 }):<p>你暂时还未添加标签...</p>}