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.
17 lines
576 B
17 lines
576 B
import React from 'react';
|
|
import { IconCode } from '@douyinfe/semi-icons';
|
|
|
|
export function getNavItem (user, dispatch) {
|
|
return (
|
|
[
|
|
{
|
|
itemKey: 'equipmentWarehouse', text: '设备仓库', icon: <IconCode />,
|
|
items: [
|
|
{ itemKey: 'nvr', to: '/equipmentWarehouse/nvr', text: 'NVR管理' },
|
|
{ itemKey: 'camera', to: '/equipmentWarehouse/camera', text: '摄像头管理' },
|
|
{ itemKey: 'recycle', to: '/equipmentWarehouse/recycle', text: '回收站' },
|
|
]
|
|
},
|
|
]
|
|
);
|
|
}
|