|
|
|
@ -30,12 +30,13 @@ const ComponentReview = () => <div style={{ height: '100%', width: '100%' }}>组
|
|
|
|
const ComponentCoding = () => <div style={{ height: '100%', width: '100%' }}>组件编码</div>;
|
|
|
|
const ComponentCoding = () => <div style={{ height: '100%', width: '100%' }}>组件编码</div>;
|
|
|
|
const ComponentDeployment = () => <div style={{ height: '100%', width: '100%' }}>组件部署</div>;
|
|
|
|
const ComponentDeployment = () => <div style={{ height: '100%', width: '100%' }}>组件部署</div>;
|
|
|
|
const ComponentTest = () => <div style={{ height: '100%', width: '100%' }}>组件测试</div>;
|
|
|
|
const ComponentTest = () => <div style={{ height: '100%', width: '100%' }}>组件测试</div>;
|
|
|
|
|
|
|
|
const EnvConfig = () => <div style={{ height: '100%', width: '100%' }}>环境配置</div>;
|
|
|
|
|
|
|
|
|
|
|
|
// 所有可显示的组件路径列表
|
|
|
|
// 所有可显示的组件路径列表
|
|
|
|
const ALL_PATHS = [
|
|
|
|
const ALL_PATHS = [
|
|
|
|
'compFlow', 'appFlow', 'compList', 'appInstance', 'event', 'globalVar', 'appCompList',
|
|
|
|
'compFlow', 'appFlow', 'compList', 'appInstance', 'event', 'globalVar', 'appCompList',
|
|
|
|
'myComponents', 'matchingComponents', 'componentReview', 'componentList',
|
|
|
|
'myComponents', 'matchingComponents', 'componentReview', 'componentList',
|
|
|
|
'componentCoding', 'componentDeployment', 'componentTest'
|
|
|
|
'componentCoding', 'componentDeployment', 'componentTest', 'envConfig'
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
function IDEContainer() {
|
|
|
|
function IDEContainer() {
|
|
|
|
@ -156,6 +157,8 @@ function IDEContainer() {
|
|
|
|
return <ComponentDeployment />;
|
|
|
|
return <ComponentDeployment />;
|
|
|
|
case 'componentTest':
|
|
|
|
case 'componentTest':
|
|
|
|
return <ComponentTest />;
|
|
|
|
return <ComponentTest />;
|
|
|
|
|
|
|
|
case 'envConfig':
|
|
|
|
|
|
|
|
return <EnvConfig />;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
return <div>未知页面</div>;
|
|
|
|
return <div>未知页面</div>;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|