fix: restore dashboard runtime home

This commit is contained in:
2026-06-11 09:11:46 +08:00
parent 87a01d70fb
commit e2b1901741
12 changed files with 153 additions and 394 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ function setupAccessGuard(router: Router) {
if (to.path === subAppRootPath) {
const defaultHome =
preferences.app.defaultHomePath || '/control-center';
preferences.app.defaultHomePath || '/page-render/main_home';
// 确保路径包含子应用前缀
const subAppTargetPath = defaultHome.startsWith(subAppRootPath)
? defaultHome