feat(orchestration): 添加组件信息空状态展示

master
钟良源 2 months ago
parent e0031ce107
commit d4915f7f1d

@ -125,7 +125,12 @@ const CompInfo = ({ currentCompInfo }) => {
{renderParamsTable()} {renderParamsTable()}
<Divider style={{ borderBottomStyle: 'dashed' }} /> <Divider style={{ borderBottomStyle: 'dashed' }} />
</div> </div>
</div>) : <div></div> </div>) : (
<div className={styles['empty-state']}>
<img src="/ideContainer/background/empty.png" alt="empty" />
<span></span>
</div>
)
); );
}; };

@ -85,4 +85,25 @@
background-color: #fbfbfb; background-color: #fbfbfb;
} }
} }
}
.empty-state {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #fff;
img {
width: 200px;
height: auto;
margin-bottom: 20px;
}
span {
font-size: 16px;
color: rgba(141, 141, 153, 1);
}
} }
Loading…
Cancel
Save