运维服务中台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

37 lines
1.5 KiB

import React from 'react';
import { IconCode } from '@douyinfe/semi-icons';
export function getNavItem (user, dispatch) {
return (
[
{
itemKey: 'data',
text: '数据',
icon: <IconCode />,
items: [
{
itemKey: 'dataMonitoring',
text: '数据监控',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconsjjiankong"></iconpark-icon>,
to: '/data/dataMonitoring/dataQuery',
items: [{
itemKey: 'dataQuery', to: '/data/dataMonitoring/dataQuery', text: '数据查询'
}]
}, {
itemKey: 'dataAnalysis',
text: '数据分析',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconsjfenxi"></iconpark-icon>,
to: '/data/dataAnalysis/dataComparison',
items: [{
itemKey: 'dataComparison', to: '/data/dataAnalysis/dataComparison', text: '数据对比'
},{
itemKey: 'dataAssociation', to: '/data/dataAnalysis/dataAssociation', text: '数据关联'
},{
itemKey: 'notebook', to: '/data/dataAnalysis/notebook', text: 'notebook'
}]
},
]
},
]
);
}