lchao 1 year ago
parent
commit
24010aa2d6
1 changed files with 13 additions and 13 deletions
  1. 13 13
      songhua-ui/src/router/index.js

+ 13 - 13
songhua-ui/src/router/index.js

@@ -20,12 +20,12 @@ import Layout from '@/layout'
  * roles: ['admin', 'common']       // 访问路由的角色权限
  * permissions: ['a:a:a', 'b:b:b']  // 访问路由的菜单权限
  * meta : {
-    noCache: true                   // 如果设置为true,则不会被 <keep-alive> 缓存(默认 false)
-    title: 'title'                  // 设置该路由在侧边栏和面包屑中展示的名字
-    icon: 'svg-name'                // 设置该路由的图标,对应路径src/assets/icons/svg
-    breadcrumb: false               // 如果设置为false,则不会在breadcrumb面包屑中显示
-    activeMenu: '/system/user'      // 当路由设置了该属性,则会高亮相对应的侧边栏。
-  }
+ noCache: true                   // 如果设置为true,则不会被 <keep-alive> 缓存(默认 false)
+ title: 'title'                  // 设置该路由在侧边栏和面包屑中展示的名字
+ icon: 'svg-name'                // 设置该路由的图标,对应路径src/assets/icons/svg
+ breadcrumb: false               // 如果设置为false,则不会在breadcrumb面包屑中显示
+ activeMenu: '/system/user'      // 当路由设置了该属性,则会高亮相对应的侧边栏。
+ }
  */
 
 // 公共路由
@@ -95,13 +95,13 @@ export const constantRoutes = [
     ]
   },
   // {
-    //林业中心
-    // path: '/songhuaIndex',
-    // name: 'songhuaIndex',
-    // component: () => import('@/views/index/index'),
-    // meta: {
-    //   title: '松花湖'
-    // }
+  //林业中心
+  // path: '/songhuaIndex',
+  // name: 'songhuaIndex',
+  // component: () => import('@/views/index/index'),
+  // meta: {
+  //   title: '松花湖'
+  // }
   //   path: 'http://dsj.1230t.com/',
   //   name: 'songhuaIndex',
   //   component: () => import('@/views/index/index'),