chore: trim nonessential admin routes

This commit is contained in:
2026-06-12 11:37:29 +08:00
parent 7e3a2587a7
commit 86b44bad10
10 changed files with 15 additions and 93 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ function setupAccessGuard(router: Router) {
if (to.path === subAppRootPath) {
const defaultHome =
preferences.app.defaultHomePath || '/page-render/main_home';
preferences.app.defaultHomePath || '/ai-platform/agent';
// 确保路径包含子应用前缀
const subAppTargetPath = defaultHome.startsWith(subAppRootPath)
? defaultHome