fix: 应用管理页面从卡片布局改为表格布局

This commit is contained in:
2026-05-01 09:10:27 +08:00
parent 416c8c71de
commit 3bcfeff65d
2 changed files with 103 additions and 91 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ export function createRouterGuard(router: Router) {
}
}
const requiresAuth = to.path.startsWith('/admin') || to.path.startsWith('/agent')
const requiresAuth = to.path.startsWith('/developer') || to.path.startsWith('/agent')
const isAuthPage = to.path === '/login' || to.path === '/register'
if (requiresAuth && !token) {
@@ -30,7 +30,7 @@ export function createRouterGuard(router: Router) {
if (user.role === 'agent' || user.parent_agent_id) {
return '/agent'
}
return '/admin'
return '/developer'
}
})
}