Commit 87cafcd5 by zhaochengxiang

增加模型对比菜单

parent c278df5c
......@@ -16,6 +16,7 @@ const Home = loadable(()=> import('./view/Home'));
const Manage = loadable(()=> import('./view/Manage'));
const Model = loadable(()=> import('./view/Manage/Model'));
const ModelConfig = loadable(()=> import('./view/Manage/ModelConfig'));
const ModelCompare = loadable(()=> import('./view/Manage/ModelCompare'));
const AssetResourceManage = loadable(()=> import('./view/Manage/AssetResourceManage'));
const AssetManage = loadable(()=> import('./view/Manage/AssetManage'));
const AssetResourceBrowse = loadable(()=> import('./view/Manage/AssetResourceBrowse'));
......@@ -156,6 +157,7 @@ export class App extends React.Component {
<Route path={'/center-home/menu/datasource-manage'} component={DatasourceManage} exact />
<Route path={'/center-home/menu/data-model'} component={Model} exact />
<Route path={'/center-home/menu/model-config'} component={ModelConfig} exact />
<Route path={'/center-home/menu/model-compare'} component={ModelCompare} exact />
<Route path={'/center-home/menu/asset-resource-manage'} component={AssetResourceManage} exact />
<Route path={'/center-home/menu/asset-manage'} component={AssetManage} exact />
<Route path={'/center-home/menu/asset-resource-browse'} component={AssetResourceBrowse} exact />
......
......@@ -24,6 +24,10 @@ export const routes = [
text: '模型配置',
},
{
name: 'model-compare',
text: '模型对比',
},
{
name: 'asset-resource-manage',
text: '资源管理',
},
......
import React from "react"
const FC = (props) => {
return (
<div>
model compare
</div>
)
}
export default FC
\ No newline at end of file
......@@ -8,6 +8,7 @@ import { ManageLayout } from "../../layout";
import DatasourceManage from './DatasourceManage';
import Model from './Model';
import ModelConfig from './ModelConfig';
import ModelCompare from './ModelCompare';
import AssetResourceManage from './AssetResourceManage';
import AssetManage from './AssetManage';
import AssetResourceBrowse from './AssetResourceBrowse';
......@@ -35,6 +36,7 @@ class Manage extends Component {
<Route path={`${match.path}/datasource-manage`} component={DatasourceManage} />
<Route path={`${match.path}/data-model`} component={Model} />
<Route path={`${match.path}/model-config`} component={ModelConfig} />
<Route path={`${match.path}/model-compare`} component={ModelCompare} />
<Route path={`${match.path}/asset-resource-manage`} component={AssetResourceManage} />
<Route path={`${match.path}/asset-manage`} component={AssetManage} />
<Route path={`${match.path}/asset-resource-browse`} component={AssetResourceBrowse} />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment