增加登录验证逻辑

This commit is contained in:
chenghx
2018-08-03 15:38:01 +08:00
parent d734d943d7
commit 4b8ad9e558
5 changed files with 75 additions and 21 deletions

View File

@@ -37,6 +37,7 @@ export default new Router({
path: '/',
name: 'home',
component: MenuView,
redirect: '/login',
icon: 'none',
invisible: true,
children: [
@@ -50,7 +51,6 @@ export default new Router({
path: '/dashboard/workplace',
name: '工作台',
component: WorkPlace,
alias: '/',
icon: 'none'
},
{