浏览代码

路由文件

DESKTOP-O04BTUJ\muzen 3 年之前
父节点
当前提交
13a7ff8d8a
共有 1 个文件被更改,包括 18 次插入1 次删除
  1. 18 1
      src/router/index.js

+ 18 - 1
src/router/index.js

@@ -178,7 +178,7 @@ export const dynamicRoutes = [{
       component: () => import('@/views/content/banner/detail'),
       name: 'detail',
       meta: {
-        title: '详情',
+        title: 'Banner详情',
         activeMenu: '/content/banner'
       }
     }]
@@ -404,6 +404,23 @@ export const dynamicRoutes = [{
         activeMenu: '/label/tag'
       }
     }]
+  },
+  // 运营管理
+  // 启动页
+  {
+    path: '/operation',
+    component: Layout,
+    hidden: true,
+    permissions: ['operation:startPage:list'],
+    children: [{
+      path: 'startPage/detail',
+      component: () => import('@/views/operation/startPage/detail'),
+      name: 'startPageDetail',
+      meta: {
+        title: '启动页详情',
+        activeMenu: '/operation/startPage'
+      }
+    }]
   }
 ]