Selaa lähdekoodia

修复bug-修正路由

修复bug-修正路由
Sean 4 kuukautta sitten
vanhempi
sitoutus
90423896c7
1 muutettua tiedostoa jossa 45 lisäystä ja 49 poistoa
  1. 45 49
      src/router/index.js

+ 45 - 49
src/router/index.js

@@ -325,7 +325,6 @@ export const constantRoutes = [
         component: () => import('@/views/chat/contacts'),
         meta: {
           title: '通讯录',
-
           hidden: true,
           breadcrumb: true
         }
@@ -333,22 +332,21 @@ export const constantRoutes = [
     ]
   },
   {
-        path: '/webCrawler',
-        component: Layout,
-        children: [
-          {
-            name: '',
-            path: '',
-            component: () => import('@/views/crawler/webCrawler'),
-            meta: {
-              title: '建立网站',
-              hidden: true,
-              breadcrumb: true
-            }
-          }
-        ]
-      },
-
+    path: '/webCrawler',
+    component: Layout,
+    children: [
+      {
+        name: '',
+        path: '',
+        component: () => import('@/views/crawler/webCrawler'),
+        meta: {
+          title: '建立网站',
+          hidden: true,
+          breadcrumb: true
+        }
+      }
+    ]
+  },
   {
     path: '/topic',
     component: Layout,
@@ -366,23 +364,22 @@ export const constantRoutes = [
     ]
   },
   {
-        path: '/webRule',
-        component: Layout,
-        children: [
-          {
-            name: '',
-            path: '',
-            component: () => import('@/views/crawler/webRule'),
-            meta: {
-              title: '规则列表',
-              hidden: true,
-              breadcrumb: true
-            }
-          }
-        ]
-      },
+    path: '/webRule',
+    component: Layout,
+    children: [
+      {
+        name: '',
+        path: '',
+        component: () => import('@/views/crawler/webRule'),
+        meta: {
+          title: '规则列表',
+          hidden: true,
+          breadcrumb: true
+        }
+      }
+    ]
+  },
   {
-
     path: '/creatTopic',
     component: Layout,
     children: [
@@ -399,22 +396,21 @@ export const constantRoutes = [
     ]
   },
   {
-        path: '/webCrawlerList',
-        component: Layout,
-        children: [
-          {
-            name: '',
-            path: '',
-            component: () => import('@/views/crawler/webCrawlerList'),
-            meta: {
-              title: '采集列表',
-              hidden: true,
-              breadcrumb: true
-            }
-          }
-        ]
-      },
-
+    path: '/webCrawlerList',
+    component: Layout,
+    children: [
+      {
+        name: '',
+        path: '',
+        component: () => import('@/views/crawler/webCrawlerList'),
+        meta: {
+          title: '采集列表',
+          hidden: true,
+          breadcrumb: true
+        }
+      }
+    ]
+  },
   {
     path: '/webCrawlerListEdit',
     component: Layout,