diff --git a/src/config/menu.ts b/src/config/menu.ts index 98c8079..8850388 100644 --- a/src/config/menu.ts +++ b/src/config/menu.ts @@ -2,7 +2,7 @@ * @Author: liuhua * @Date: 2023-06-17 17:23:30 * @LastEditors: zhangshigui - * @LastEditTime: 2024-05-29 15:07:40 + * @LastEditTime: 2024-07-22 11:41:57 * @Description: 菜单配置(配置由后端返回更加灵活) * */ @@ -162,14 +162,6 @@ export const menu: MenuItem[] = [ parentId: '7', target: '_blank' }, - { - id: '72', - title: '智慧气象', - path: '/screen/atmosphere', - roles: ['admin', 'test'], - parentId: '7', - target: '_blank' - }, // 流程图 { id: '8', diff --git a/src/router/index.tsx b/src/router/index.tsx index 7a7d9ac..b6b1ab7 100644 --- a/src/router/index.tsx +++ b/src/router/index.tsx @@ -29,7 +29,6 @@ const SearchTable = lazy(() => import('@/views/table/search-table')); const DragTable = lazy(() => import('@/views/table/darg-table')); // screen const ScreenCity = lazy(() => import('@/views/screen/city')); -const ScreenAtmosphere = lazy(() => import('@/views/screen/atmosphere')); // process const Process = lazy(() => import('@/views/process')); @@ -116,10 +115,6 @@ const AppRouter = () => { path: '/screen/city', element: lazyLoad() }, - { - path: '/screen/atmosphere', - element: lazyLoad() - }, { path: '*', element: