Trim online menu defaults from lightweight admin

This commit is contained in:
2026-06-08 21:18:16 +08:00
parent 9ecffde2ed
commit c52ab8fb3a
4 changed files with 10 additions and 224 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ function setupAccessGuard(router: Router) {
if (to.path === subAppRootPath) {
const defaultHome =
preferences.app.defaultHomePath || '/page-render/main_home';
preferences.app.defaultHomePath || '/control-center';
// 确保路径包含子应用前缀
const subAppTargetPath = defaultHome.startsWith(subAppRootPath)
? defaultHome