|
@@ -5,6 +5,7 @@ Vue.use(Router)
|
|
|
|
|
|
|
|
|
|
import Layout from '@/layout'
|
|
import Layout from '@/layout'
|
|
|
|
+import businessRouter from './modules/business'
|
|
|
|
|
|
|
|
|
|
* Note: sub-menu only appear when route children.length >= 1
|
|
* Note: sub-menu only appear when route children.length >= 1
|
|
@@ -53,7 +54,7 @@ export const asyncRoutes = [
|
|
path: 'dashboard',
|
|
path: 'dashboard',
|
|
name: 'Dashboard',
|
|
name: 'Dashboard',
|
|
component: () => import('@/views/dashboard/index'),
|
|
component: () => import('@/views/dashboard/index'),
|
|
- meta: { title: '首页', icon: 'dashboard' }
|
|
+ meta: { title: '首页', icon: 'el-icon-s-home' }
|
|
}]
|
|
}]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -102,6 +103,7 @@ export const asyncRoutes = [
|
|
meta: { title: 'icon', icon: 'el-icon-s-grid' }
|
|
meta: { title: 'icon', icon: 'el-icon-s-grid' }
|
|
}]
|
|
}]
|
|
},
|
|
},
|
|
|
|
+ businessRouter,
|
|
{ path: '*', redirect: '/404', hidden: true }
|
|
{ path: '*', redirect: '/404', hidden: true }
|
|
]
|
|
]
|
|
|
|
|