1、新增alert插件

2、新增登录凭证处理逻辑
3、新增AccessToken自动刷新机制
4、新增后台模板页
This commit is contained in:
南浔
2025-06-11 23:46:06 +08:00
parent 0b4018a3ec
commit b02c61ecd8
18 changed files with 1091 additions and 59 deletions
+13 -6
View File
@@ -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') }
]
}
]