diff --git a/src/router/index.js b/src/router/index.js index 2ae04c7..ec8227a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -49,14 +49,6 @@ export const constantRoutes = [ title:'系统登录' } }, - { - path: '/tools', - component: () => import('@/views/tools'), - hidden: true, - meta:{ - title:'工具' - } - }, { path: '/queryTraceInfo', component: () => import('@/views/openpage/queryTraceInfo'), @@ -158,48 +150,7 @@ export const dynamicRoutes = [ } ] }, - { - path: '/system/dict-data', - component: Layout, - hidden: true, - permissions: ['system:dict:list'], - children: [ - { - path: 'index/:dictId(\\d+)', - component: () => import('@/views/system/dict/data'), - name: 'Data', - meta: { title: '字典数据', activeMenu: '/system/dict' } - } - ] - }, - { - path: '/monitor/job-log', - component: Layout, - hidden: true, - permissions: ['monitor:job:list'], - children: [ - { - path: 'index', - component: () => import('@/views/monitor/job/log'), - name: 'JobLog', - meta: { title: '调度日志', activeMenu: '/monitor/job' } - } - ] - }, - { - path: '/tool/gen-edit', - component: Layout, - hidden: true, - permissions: ['tool:gen:edit'], - children: [ - { - path: 'index/:tableId(\\d+)', - component: () => import('@/views/tool/gen/editTable'), - name: 'GenEdit', - meta: { title: '修改生成配置', activeMenu: '/tool/gen' } - } - ] - } + ] // 防止连续点击多次路由报错