diff --git a/src/pages/user/index.tsx b/src/pages/user/index.tsx index 83ae709..b45014f 100644 --- a/src/pages/user/index.tsx +++ b/src/pages/user/index.tsx @@ -208,7 +208,7 @@ const UserInfo: FC = () => { 功能特色 {Features.map((item, key) => { - return handleClickIconCard(item)}> + return item.path ? handleClickIconCard(item)}> : null })} @@ -218,7 +218,7 @@ const UserInfo: FC = () => { 布料取色 {Coloring.map((item, key) => { - return handleClickIconCard(item)}> + return item.path ? handleClickIconCard(item)}> : null })} @@ -228,7 +228,7 @@ const UserInfo: FC = () => { 统计分析 {Statistics.map((item, key) => { - return handleClickIconCard(item)}> + return item.path ? handleClickIconCard(item)}> : null })}