diff --git a/src/pages/ideContainer/index.tsx b/src/pages/ideContainer/index.tsx
index de586d5..fa1ed6d 100644
--- a/src/pages/ideContainer/index.tsx
+++ b/src/pages/ideContainer/index.tsx
@@ -1,9 +1,55 @@
-import React from 'react';
+import React, { useState } from 'react';
+import styles from './style/index.module.less';
+import SideBar from './sideBar';
+import { Layout } from '@arco-design/web-react';
+
+const Content = Layout.Content;
+
+interface Selected {
+ currentPath?: string;
+ currentKey?: string;
+}
+
+// 假设您有这些组件
+const AppFlowComponent = () =>
应用编排
;
+const CompListComponent = () => 组件列表
;
+const AppInstanceComponent = () => 应用实例
;
+const EventComponent = () => 事件
;
+const GlobalVarComponent = () => 全局变量
;
function IDEContainer() {
+
+ const [selected, setSelected] = useState({});
+
+ // 根据选中的菜单项渲染对应组件
+ const renderContent = () => {
+ switch (selected.currentPath) {
+ case 'appFlow':
+ return ;
+ case 'compList':
+ return ;
+ case 'appInstance':
+ return ;
+ case 'event':
+ return ;
+ case 'globalVar':
+ return ;
+ default:
+ return ;
+ }
+ };
return (
<>
- IDE Container
+
+ setSelected(select)}
+ selectedKey={selected.currentKey}
+ />
+
+ {renderContent()}
+
+
+
>
);
}