chore: 整理项目结构,清理归档文件,更新部署配置

This commit is contained in:
Simon
2026-07-04 21:01:39 +08:00
parent 8bd4ab0366
commit 64ff1bf7d5
508 changed files with 43575 additions and 14129 deletions
+3 -2
View File
@@ -99,8 +99,9 @@ router.beforeEach((to, _from, next) => {
}
if (requiresAuth && !token) {
// 需要认证但没有 token,跳转到 Portal 统一入口
window.location.href = '/itportal/'
// 需要认证但没有 token,跳转到当前端登录页(不再跳转到 Portal
// v1.1: 坐席/管理端直接登录,无需经过 Portal
next({ path: '/login' })
} else if (to.path === '/login' && token) {
// 已登录用户访问登录页,跳转到工作台
next({ path: '/workspace' })