feat(componentDeployment): 展示组件代码语言标签并移除环境配置入口

master
钟良源 2 months ago
parent 05146d60cf
commit d4ecb794dc

@ -93,6 +93,7 @@ const CollapseList: React.FC<CollapseListProps> = ({ searchKeyword, runStatus })
<Space size={10}> <Space size={10}>
<Tag>{item.componentClassify}</Tag> <Tag>{item.componentClassify}</Tag>
<Tag>{item.codeLanguage}</Tag>
<Tag color={getRunStatus().color}>{getRunStatus().label}</Tag> <Tag color={getRunStatus().color}>{getRunStatus().label}</Tag>
<div className={styles['flex-box']}> <div className={styles['flex-box']}>
<img src={'/icons/countIcon.png'} style={{ width: 16, height: 16, marginRight: 5 }} /> <img src={'/icons/countIcon.png'} style={{ width: 16, height: 16, marginRight: 5 }} />
@ -119,11 +120,6 @@ const CollapseList: React.FC<CollapseListProps> = ({ searchKeyword, runStatus })
<span style={{ color: '#A2A2AB' }}></span> <span style={{ color: '#A2A2AB' }}></span>
</div> </div>
)} )}
{/*环境配置*/}
<div className={styles['flex-box']} onClick={() => setVisible(true)}>
<img src={'/icons/envIcon.png'} style={{ width: 16, height: 16, marginRight: 5 }} />
<span style={{ color: '#A2A2AB' }}></span>
</div>
{/*下架组件*/} {/*下架组件*/}
{item.runStatus === 'RUN' && ( {item.runStatus === 'RUN' && (
<div className={`${styles['flex-box']} ${styles['custom-red']}`} onClick={() => { <div className={`${styles['flex-box']} ${styles['custom-red']}`} onClick={() => {

Loading…
Cancel
Save