DESKTOP-SVI9JE1\muzen 1 år sedan
förälder
incheckning
3c99c7a5fd
1 ändrade filer med 20 tillägg och 3 borttagningar
  1. 20 3
      src/router/index.js

+ 20 - 3
src/router/index.js

@@ -183,6 +183,23 @@ export const dynamicRoutes = [{
     }
   }]
 },
+// 文章管理
+{
+  path: '/content',
+  component: Layout,
+  hidden: true,
+  permissions: ['content:articleList:list'],
+  name: 'articleList',
+  children: [{
+    path: 'articleList/detail',
+    component: () => import('@/views/content/article/detail'),
+    name: 'articleDetail',
+    meta: {
+      title: '文章详情',
+      activeMenu: '/content/articleList'
+    }
+  }]
+},
 // 设备管理
 // 设备列表
 {
@@ -376,14 +393,14 @@ export const dynamicRoutes = [{
   component: Layout,
   hidden: true,
   permissions: ['music:radio:list'],
-  name: 'radio',
+  name: 'radioList',
   children: [{
-    path: 'radio/detail',
+    path: 'radio/radioList/detail',
     component: () => import('@/views/music/radio/detail'),
     name: 'radioDetail',
     meta: {
       title: `电台详情`,
-      activeMenu: '/music/radio'
+      activeMenu: '/music/radio/radioList'
     }
   }]
 },