|
|
|
@ -52,7 +52,7 @@ function IDEContainer() {
|
|
|
|
currPage: 1,
|
|
|
|
currPage: 1,
|
|
|
|
sceneId: urlParams.id
|
|
|
|
sceneId: urlParams.id
|
|
|
|
});
|
|
|
|
});
|
|
|
|
if (res.code === 200) setSubMenuData({ 'appList': res.data.list });
|
|
|
|
if (res.code === 200) setSubMenuData({ 'appList': res.data.list.reverse() });
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
useEffect(() => {
|
|
|
|
useEffect(() => {
|
|
|
|
@ -98,7 +98,25 @@ function IDEContainer() {
|
|
|
|
|
|
|
|
|
|
|
|
{/* 默认内容,当没有选中任何tab时显示 */}
|
|
|
|
{/* 默认内容,当没有选中任何tab时显示 */}
|
|
|
|
{!selected.path && (
|
|
|
|
{!selected.path && (
|
|
|
|
<div>点击左侧菜单选择需要查看的功能</div>
|
|
|
|
<div style={{
|
|
|
|
|
|
|
|
width: '100%',
|
|
|
|
|
|
|
|
height: '100%',
|
|
|
|
|
|
|
|
display: 'flex',
|
|
|
|
|
|
|
|
justifyContent: 'center',
|
|
|
|
|
|
|
|
alignItems: 'center',
|
|
|
|
|
|
|
|
flexDirection: 'column',
|
|
|
|
|
|
|
|
backgroundColor: '#ffffff'
|
|
|
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
<img
|
|
|
|
|
|
|
|
src={'/ideContainer/empty.png'}
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<span style={{
|
|
|
|
|
|
|
|
fontSize: '20px',
|
|
|
|
|
|
|
|
color: 'rgba(141, 141, 153, 1)'
|
|
|
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
请选择应用,预览配置信息
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
@ -197,6 +215,7 @@ function IDEContainer() {
|
|
|
|
identity={urlParams.identity}
|
|
|
|
identity={urlParams.identity}
|
|
|
|
subMenuData={subMenuData}
|
|
|
|
subMenuData={subMenuData}
|
|
|
|
onMenuSelect={(select) => setSelected(select)}
|
|
|
|
onMenuSelect={(select) => setSelected(select)}
|
|
|
|
|
|
|
|
onRefresh={() => getAppList()}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<div className={styles.content}>
|
|
|
|
<div className={styles.content}>
|
|
|
|
<div className={styles.mainContent}>
|
|
|
|
<div className={styles.mainContent}>
|
|
|
|
|