sunkuosheng преди 3 години
родител
ревизия
3397bbf3cc
променени са 1 файла, в които са добавени 17 реда и са изтрити 17 реда
  1. 17 17
      src/router/index.js

+ 17 - 17
src/router/index.js

@@ -8,24 +8,24 @@ import main from "../components/HelloWorld";
 export default new VueRouter({
     mode: 'history',
     routes: [
+        // {
+        //     path: '/',
+        //     component: main,
+        //     meta: {
+        //         type:'',
+        //         title: '监控'
+        //     },
+        // },
+        // {
+        //     path: '/:id',
+        //     component: main,
+        //     meta: {
+        //         type:'',
+        //         title: '监控'
+        //     },
+        // },
         {
-            path: '/',
-            component: main,
-            meta: {
-                type:'',
-                title: '监控'
-            },
-        },
-        {
-            path: '/:id',
-            component: main,
-            meta: {
-                type:'',
-                title: '监控'
-            },
-        },
-        {
-            path: '/main/',
+            path: '/main',
             component: main,
             meta: {
                 type:'',