Use lightweight control center home

This commit is contained in:
2026-06-10 15:49:02 +08:00
parent 62fd2209da
commit 7c00b81934
7 changed files with 42 additions and 21 deletions
+1 -1
View File
@@ -191,7 +191,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