Преглед изворни кода

删除无用的后台侧边栏菜单

reghao пре 2 дана
родитељ
комит
c2b826f631
1 измењених фајлова са 0 додато и 50 уклоњено
  1. 0 50
      src/router/background_devops.js

+ 0 - 50
src/router/background_devops.js

@@ -98,48 +98,6 @@ export default {
           icon: 'el-icon-s-data',
           component: AliyunKey,
           meta: { needAuth: true, roles: ['devops_admin'] }
-        },
-        {
-          path: '/bg/machine/proc',
-          name: 'MachineProc',
-          title: '服务进程',
-          icon: 'el-icon-s-data',
-          component: MachineProc,
-          meta: { needAuth: true, roles: ['devops_admin'] }
-        },
-        {
-          path: '/bg/machine/task',
-          name: 'MachineTask',
-          title: '定时任务',
-          icon: 'el-icon-s-data',
-          component: MachineTask,
-          meta: { needAuth: true, roles: ['devops_admin'] }
-        }
-      ]
-    },
-    {
-      path: '/bg/srv',
-      name: 'MachineSrv',
-      title: '服务',
-      icon: 'el-icon-s-data',
-      component: { render: (e) => e('router-view') },
-      meta: { needAuth: true, roles: ['devops_admin'] },
-      children: [
-        {
-          path: '/bg/srv/nginx',
-          name: 'MachineNginx',
-          title: 'Nginx',
-          icon: 'el-icon-s-data',
-          component: MachineNginx,
-          meta: { needAuth: true, roles: ['devops_admin'] }
-        },
-        {
-          path: '/bg/srv/nginx_log',
-          name: 'NginxLog',
-          title: 'NginxLog',
-          icon: 'el-icon-s-data',
-          component: NginxLog,
-          meta: { needAuth: true, roles: ['devops_admin'] }
         }
       ]
     },
@@ -159,14 +117,6 @@ export default {
           component: DockerRegistry,
           meta: { needAuth: true, roles: ['devops_admin'] }
         },
-        {
-          path: '/bg/docker/container',
-          name: 'Docker',
-          title: '容器镜像',
-          icon: 'el-icon-user-solid',
-          component: Docker,
-          meta: { needAuth: true, roles: ['devops_admin'] }
-        },
         {
           path: '/bg/docker/image',
           name: 'DockerImage',