|
|
|
|
@ -14,6 +14,7 @@ import ProjectContainer from '@/pages/orchestration/project';
|
|
|
|
|
import ApplicationContainer from '@/pages/orchestration/application';
|
|
|
|
|
import EventContainer from '@/pages/orchestration/event';
|
|
|
|
|
import GlobalVarContainer from '@/pages/orchestration/globalVar';
|
|
|
|
|
import AppCompComponent from '@/pages/orchestration/appCompComponent';
|
|
|
|
|
import ComponentList from '@/pages/componentDevelopment/componentList';
|
|
|
|
|
|
|
|
|
|
type UrlParamsOptions = {
|
|
|
|
|
@ -23,7 +24,6 @@ type UrlParamsOptions = {
|
|
|
|
|
|
|
|
|
|
const CompListComponent = () => <div style={{ height: '100%', width: '100%' }}>组件列表</div>;
|
|
|
|
|
const AppInstanceComponent = () => <div style={{ height: '100%', width: '100%' }}>应用实例</div>;
|
|
|
|
|
const AppCompComponent = () => <div style={{ height: '100%', width: '100%' }}>组件</div>;
|
|
|
|
|
const MyComponents = () => <div style={{ height: '100%', width: '100%' }}>我的组件</div>;
|
|
|
|
|
const MatchingComponents = () => <div style={{ height: '100%', width: '100%' }}>协同组件</div>;
|
|
|
|
|
const ComponentReview = () => <div style={{ height: '100%', width: '100%' }}>组件审核</div>;
|
|
|
|
|
@ -82,7 +82,7 @@ function IDEContainer() {
|
|
|
|
|
<div style={{ height: '100%', position: 'relative' }}>
|
|
|
|
|
{ALL_PATHS.map((path, i) => {
|
|
|
|
|
// 检查该路径的组件是否已打开
|
|
|
|
|
const isOpened = openedTabs.has(selected.key);
|
|
|
|
|
const isOpened = openedTabs.has(path);
|
|
|
|
|
// 检查是否是当前选中的路径
|
|
|
|
|
const isSelected = selected.path === path;
|
|
|
|
|
|
|
|
|
|
|