|
@@ -10,7 +10,7 @@ import {
|
|
|
} from '@/constant'
|
|
} from '@/constant'
|
|
|
import Layout from '@/layout'
|
|
import Layout from '@/layout'
|
|
|
import Solo from '@/layout/Solo'
|
|
import Solo from '@/layout/Solo'
|
|
|
-import i18n from '@/language'
|
|
|
|
|
|
|
+// import i18n from '@/language'
|
|
|
|
|
|
|
|
Vue.use(Router)
|
|
Vue.use(Router)
|
|
|
|
|
|
|
@@ -51,7 +51,7 @@ export const asyncRoutes = [
|
|
|
path: '/',
|
|
path: '/',
|
|
|
redirect: '/home',
|
|
redirect: '/home',
|
|
|
component: Layout,
|
|
component: Layout,
|
|
|
- meta: { title: i18n.t('首页'), icon: 'home' },
|
|
|
|
|
|
|
+ meta: { title: '首页', icon: 'home' },
|
|
|
children: [
|
|
children: [
|
|
|
{
|
|
{
|
|
|
path: 'home',
|
|
path: 'home',
|