🎈 perf(我的): 隐藏未开发的功能
This commit is contained in:
parent
af1aad934d
commit
e38b6da438
@ -208,7 +208,7 @@ const UserInfo: FC = () => {
|
|||||||
<View className={styles.layoutTitle}>功能特色</View>
|
<View className={styles.layoutTitle}>功能特色</View>
|
||||||
<View className={styles['grid-container']}>
|
<View className={styles['grid-container']}>
|
||||||
{Features.map((item, key) => {
|
{Features.map((item, key) => {
|
||||||
return <IconCard key={key} iconName={item.iconName} title={item.name} onClick={() => handleClickIconCard(item)}></IconCard>
|
return item.path ? <IconCard key={key} iconName={item.iconName} title={item.name} onClick={() => handleClickIconCard(item)}></IconCard> : null
|
||||||
})}
|
})}
|
||||||
</View>
|
</View>
|
||||||
</LayoutBlock>
|
</LayoutBlock>
|
||||||
@ -218,7 +218,7 @@ const UserInfo: FC = () => {
|
|||||||
<View className={styles.layoutTitle}>布料取色</View>
|
<View className={styles.layoutTitle}>布料取色</View>
|
||||||
<View className={styles['grid-container']}>
|
<View className={styles['grid-container']}>
|
||||||
{Coloring.map((item, key) => {
|
{Coloring.map((item, key) => {
|
||||||
return <IconCard key={key} iconName={item.iconName} title={item.name} onClick={() => handleClickIconCard(item)}></IconCard>
|
return item.path ? <IconCard key={key} iconName={item.iconName} title={item.name} onClick={() => handleClickIconCard(item)}></IconCard> : null
|
||||||
})}
|
})}
|
||||||
</View>
|
</View>
|
||||||
</LayoutBlock>
|
</LayoutBlock>
|
||||||
@ -228,7 +228,7 @@ const UserInfo: FC = () => {
|
|||||||
<View className={styles.layoutTitle}>统计分析</View>
|
<View className={styles.layoutTitle}>统计分析</View>
|
||||||
<View className={styles['grid-container']}>
|
<View className={styles['grid-container']}>
|
||||||
{Statistics.map((item, key) => {
|
{Statistics.map((item, key) => {
|
||||||
return <IconCard key={key} iconName={item.iconName} title={item.name} onClick={() => handleClickIconCard(item)}></IconCard>
|
return item.path ? <IconCard key={key} iconName={item.iconName} title={item.name} onClick={() => handleClickIconCard(item)}></IconCard> : null
|
||||||
})}
|
})}
|
||||||
</View>
|
</View>
|
||||||
</LayoutBlock>
|
</LayoutBlock>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user