From 54b323ef1a03befa8edb0e42c1dff33436dbcca2 Mon Sep 17 00:00:00 2001 From: ZLY Date: Thu, 25 Sep 2025 09:45:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(ideContainer):=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=89=80=E6=9C=89=E5=B7=A5=E7=A8=8B=E4=B8=AD=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E7=9A=84=E8=8F=9C=E5=8D=95=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ideContainer/config/menuData.ts | 10 +++++++++- src/pages/ideContainer/index.tsx | 5 ++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/pages/ideContainer/config/menuData.ts b/src/pages/ideContainer/config/menuData.ts index bd337e3..1fcb01f 100644 --- a/src/pages/ideContainer/config/menuData.ts +++ b/src/pages/ideContainer/config/menuData.ts @@ -55,6 +55,12 @@ export const menuData1 = [ children: null, path: 'globalVar', key: 'globalVar' + }, + { + title: '组件', + children: null, + path: 'appCompList', + key: 'appCompList' } ]; @@ -98,4 +104,6 @@ export const menuData2 = [ path: 'componentTest', key: 'componentTest' } -]; \ No newline at end of file +]; + +// export const tempEnvData = \ No newline at end of file diff --git a/src/pages/ideContainer/index.tsx b/src/pages/ideContainer/index.tsx index 7da4c59..35fe670 100644 --- a/src/pages/ideContainer/index.tsx +++ b/src/pages/ideContainer/index.tsx @@ -21,6 +21,7 @@ const CompListComponent = () =>
const AppInstanceComponent = () =>
应用实例
; const EventComponent = () =>
事件
; const GlobalVarComponent = () =>
全局变量
; +const AppCompComponent = () =>
组件
; const MyComponents = () =>
我的组件
; const MatchingComponents = () =>
协同组件
; const ComponentReview = () =>
组件审核
; @@ -30,7 +31,7 @@ const ComponentTest = () =>
组 // 所有可显示的组件路径列表 const ALL_PATHS = [ - 'compFlow', 'appFlow', 'compList', 'appInstance', 'event', 'globalVar', + 'compFlow', 'appFlow', 'compList', 'appInstance', 'event', 'globalVar', 'appCompList', 'myComponents', 'matchingComponents', 'componentReview', 'componentCoding', 'componentDeployment', 'componentTest' ]; @@ -118,6 +119,8 @@ function IDEContainer() { return ; case 'globalVar': return ; + case 'appCompList': + return ; case 'myComponents': return ; case 'matchingComponents':