作者 王勇

系统启动界面,重定向至登录页

正在显示 1 个修改的文件 包含 14 行增加0 行删除
@@ -103,6 +103,10 @@ let routes = [ @@ -103,6 +103,10 @@ let routes = [
103 }, 103 },
104 { 104 {
105 path: '/', 105 path: '/',
  106 + redirect: '/login',
  107 + },
  108 + {
  109 + path: '/',
106 component: Home, 110 component: Home,
107 name: '主页', 111 name: '主页',
108 leaf: true, 112 leaf: true,
@@ -111,6 +115,16 @@ let routes = [ @@ -111,6 +115,16 @@ let routes = [
111 {path: '/main', component: Main, name: '首页'}, 115 {path: '/main', component: Main, name: '首页'},
112 ] 116 ]
113 }, 117 },
  118 + // {
  119 + // path: '/',
  120 + // component: Home,
  121 + // name: '主页',
  122 + // leaf: true,
  123 + // iconCls: 'el-icon-menu',
  124 + // children: [
  125 + // {path: '/main', component: Main, name: '首页'},
  126 + // ]
  127 + // },
114 // { path: '/test', component: Main }, 128 // { path: '/test', component: Main },
115 { 129 {
116 path: '/admin', 130 path: '/admin',