1、新增alert插件
2、新增登录凭证处理逻辑 3、新增AccessToken自动刷新机制 4、新增后台模板页
This commit is contained in:
+13
-6
@@ -12,23 +12,30 @@ const routes = [
|
||||
name: 'home',
|
||||
component: HomeView
|
||||
}
|
||||
,{
|
||||
path:'',
|
||||
redirect:'/home'
|
||||
, {
|
||||
path: '',
|
||||
redirect: '/home'
|
||||
},
|
||||
{
|
||||
path:'/auth',
|
||||
path: '/auth',
|
||||
component: Login,
|
||||
children: [
|
||||
{
|
||||
path:'login',
|
||||
path: 'login',
|
||||
component: Login
|
||||
},
|
||||
{
|
||||
path:'register',
|
||||
path: 'register',
|
||||
component: Register
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/layout',
|
||||
component: () => import('@/views/layout/Home.vue'),
|
||||
children: [
|
||||
{ path: 'index', component: () => import('@/views/layout/Dashboard.vue') }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user