From c6b6345116c2c5bde91f570c4d0798aa8ad0e9c7 Mon Sep 17 00:00:00 2001 From: deartibers <947466799@qq.com> Date: Fri, 1 Jul 2022 16:53:48 +0800 Subject: [PATCH] =?UTF-8?q?nav=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/VideoAccess-VCMP/web/client/index.html | 1 + .../web/client/src/sections/aiAbility/nav-item.jsx | 4 +--- .../web/client/src/sections/application/nav-item.jsx | 3 +-- .../web/client/src/sections/archive/nav-item.jsx | 3 +-- .../web/client/src/sections/equipmentWarehouse/nav-item.jsx | 3 +-- .../web/client/src/sections/journaling/nav-item.jsx | 3 +-- .../web/client/src/sections/member/nav-item.jsx | 3 +-- .../web/client/src/sections/monitor/nav-item.jsx | 3 +-- .../web/client/src/sections/offline/nav-item.jsx | 3 +-- .../web/client/src/sections/openness/nav-item.jsx | 3 +-- .../web/client/src/sections/system/nav-item.jsx | 3 +-- 11 files changed, 11 insertions(+), 21 deletions(-) diff --git a/code/VideoAccess-VCMP/web/client/index.html b/code/VideoAccess-VCMP/web/client/index.html index ead8d23..2114530 100644 --- a/code/VideoAccess-VCMP/web/client/index.html +++ b/code/VideoAccess-VCMP/web/client/index.html @@ -6,6 +6,7 @@ + diff --git a/code/VideoAccess-VCMP/web/client/src/sections/aiAbility/nav-item.jsx b/code/VideoAccess-VCMP/web/client/src/sections/aiAbility/nav-item.jsx index 650e328..07ad1d6 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/aiAbility/nav-item.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/aiAbility/nav-item.jsx @@ -1,11 +1,9 @@ import React from 'react'; -import { IconCode } from '@douyinfe/semi-icons'; - export function getNavItem (user, dispatch) { return ( [ { - itemKey: 'aiAbility', text: '视频AI能力', to: '/aiAbility', icon: , + itemKey: 'aiAbility', text: '视频AI能力', to: '/aiAbility', icon:, items: [ { itemKey: 'hiAI', to: '/aiAbility/hiAI', text: 'hi AI' }, { itemKey: 'consumption', to: '/aiAbility/consumption', text: '用量监控' } diff --git a/code/VideoAccess-VCMP/web/client/src/sections/application/nav-item.jsx b/code/VideoAccess-VCMP/web/client/src/sections/application/nav-item.jsx index 7595744..a6d4ff7 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/application/nav-item.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/application/nav-item.jsx @@ -1,11 +1,10 @@ import React from 'react'; -import { IconCode } from '@douyinfe/semi-icons'; export function getNavItem (user, dispatch) { return ( [ { - itemKey: 'application', text: '应用管理', to: '/application', icon: , + itemKey: 'application', text: '应用管理', to: '/application', icon:, }, ] ); diff --git a/code/VideoAccess-VCMP/web/client/src/sections/archive/nav-item.jsx b/code/VideoAccess-VCMP/web/client/src/sections/archive/nav-item.jsx index 39312b2..401425b 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/archive/nav-item.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/archive/nav-item.jsx @@ -1,11 +1,10 @@ import React from 'react'; -import { IconCode } from '@douyinfe/semi-icons'; export function getNavItem (user, dispatch) { return ( [ { - itemKey: 'containers', text: '文档中心', to: '/containers', icon: , + itemKey: 'containers', text: '文档中心', to: '/containers', icon:, }, ] ); diff --git a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/nav-item.jsx b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/nav-item.jsx index c108d77..2f64ae6 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/nav-item.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/nav-item.jsx @@ -1,11 +1,10 @@ import React from 'react'; -import { IconCode } from '@douyinfe/semi-icons'; export function getNavItem (user, dispatch) { return ( [ { - itemKey: 'equipmentWarehouse', text: '设备仓库', icon: , + itemKey: 'equipmentWarehouse', text: '设备仓库', icon:, items: [ { itemKey: 'nvr', to: '/equipmentWarehouse/nvr', text: 'NVR管理' }, { itemKey: 'camera', to: '/equipmentWarehouse/camera', text: '摄像头管理' }, diff --git a/code/VideoAccess-VCMP/web/client/src/sections/journaling/nav-item.jsx b/code/VideoAccess-VCMP/web/client/src/sections/journaling/nav-item.jsx index e33e7be..217e1bf 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/journaling/nav-item.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/journaling/nav-item.jsx @@ -1,11 +1,10 @@ import React from 'react'; -import { IconCode } from '@douyinfe/semi-icons'; export function getNavItem (user, dispatch) { return ( [ { - itemKey: 'journaling', text: '设备报表', to: '/journaling', icon: , + itemKey: 'journaling', text: '设备报表', to: '/journaling', icon:, }, ] ); diff --git a/code/VideoAccess-VCMP/web/client/src/sections/member/nav-item.jsx b/code/VideoAccess-VCMP/web/client/src/sections/member/nav-item.jsx index ad5bab7..0090672 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/member/nav-item.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/member/nav-item.jsx @@ -1,11 +1,10 @@ import React from 'react'; -import { IconCode } from '@douyinfe/semi-icons'; export function getNavItem (user, dispatch) { return ( [ { - itemKey: 'member', text: '成员管理', to: '/member', icon: , + itemKey: 'member', text: '成员管理', to: '/member', icon:, }, ] ); diff --git a/code/VideoAccess-VCMP/web/client/src/sections/monitor/nav-item.jsx b/code/VideoAccess-VCMP/web/client/src/sections/monitor/nav-item.jsx index 8697bcb..25626cb 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/monitor/nav-item.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/monitor/nav-item.jsx @@ -1,11 +1,10 @@ import React from 'react'; -import { IconCode } from '@douyinfe/semi-icons'; export function getNavItem (user, dispatch) { return ( [ { - itemKey: 'monitor', text: '数据监控中心', to: '/monitor', icon: , + itemKey: 'monitor', text: '数据监控中心', to: '/monitor', icon:, }, ] ); diff --git a/code/VideoAccess-VCMP/web/client/src/sections/offline/nav-item.jsx b/code/VideoAccess-VCMP/web/client/src/sections/offline/nav-item.jsx index d92ebee..bf68a35 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/offline/nav-item.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/offline/nav-item.jsx @@ -1,11 +1,10 @@ import React from 'react'; -import { IconCode } from '@douyinfe/semi-icons'; export function getNavItem (user, dispatch) { return ( [ { - itemKey: 'offline', text: '离线管理', to: '/offline', icon: , + itemKey: 'offline', text: '离线管理', to: '/offline', icon:, items: [ { itemKey: 'statuscode', to: '/offline/statuscode', text: '状态码管理' }, { itemKey: 'carrierpigeon', to: '/offline/carrierpigeon', text: '信鸽服务' } diff --git a/code/VideoAccess-VCMP/web/client/src/sections/openness/nav-item.jsx b/code/VideoAccess-VCMP/web/client/src/sections/openness/nav-item.jsx index 80c5c44..48558e1 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/openness/nav-item.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/openness/nav-item.jsx @@ -1,11 +1,10 @@ import React from 'react'; -import { IconCode } from '@douyinfe/semi-icons'; export function getNavItem (user, dispatch) { return ( [ { - itemKey: 'openness', text: '开放能力', to: '/openness', icon: , + itemKey: 'openness', text: '开放能力', to: '/openness', icon:, items: [ { itemKey: 'mirroring', to: '/openness/mirroring', text: '镜像服务' }, ], diff --git a/code/VideoAccess-VCMP/web/client/src/sections/system/nav-item.jsx b/code/VideoAccess-VCMP/web/client/src/sections/system/nav-item.jsx index b23505d..9bef41c 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/system/nav-item.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/system/nav-item.jsx @@ -1,11 +1,10 @@ import React from 'react'; -import { IconCode } from '@douyinfe/semi-icons'; export function getNavItem (user, dispatch) { return ( [ { - itemKey: 'system', text: '系统管理', to: '/system', icon: , + itemKey: 'system', text: '系统管理', to: '/system', icon:, items: [ { itemKey: 'journal', to: '/system/journal', text: '操作日志' }, { itemKey: 'theme', to: '/system/theme', text: '主题设置' }