...
|
...
|
@@ -103,6 +103,10 @@ let routes = [ |
|
|
},
|
|
|
{
|
|
|
path: '/',
|
|
|
redirect: '/login',
|
|
|
},
|
|
|
{
|
|
|
path: '/',
|
|
|
component: Home,
|
|
|
name: '主页',
|
|
|
leaf: true,
|
...
|
...
|
@@ -111,6 +115,16 @@ let routes = [ |
|
|
{path: '/main', component: Main, name: '首页'},
|
|
|
]
|
|
|
},
|
|
|
// {
|
|
|
// path: '/',
|
|
|
// component: Home,
|
|
|
// name: '主页',
|
|
|
// leaf: true,
|
|
|
// iconCls: 'el-icon-menu',
|
|
|
// children: [
|
|
|
// {path: '/main', component: Main, name: '首页'},
|
|
|
// ]
|
|
|
// },
|
|
|
// { path: '/test', component: Main },
|
|
|
{
|
|
|
path: '/admin',
|
...
|
...
|
|