feat: replace dashboard home with control center

This commit is contained in:
2026-06-11 11:32:47 +08:00
parent 447ed2e7b2
commit bdedb5030b
3 changed files with 1311 additions and 3 deletions
-1
View File
@@ -32,7 +32,6 @@ const baseModules = import.meta.glob([
const businessModules = import.meta.glob([ const businessModules = import.meta.glob([
'./langs/zh-CN/ai-platform.json', './langs/zh-CN/ai-platform.json',
'./langs/zh-CN/announcement.json', './langs/zh-CN/announcement.json',
'./langs/zh-CN/dashboard-design.json',
'./langs/zh-CN/menu.json', './langs/zh-CN/menu.json',
'./langs/zh-CN/message.json', './langs/zh-CN/message.json',
'./langs/zh-CN/permission.json', './langs/zh-CN/permission.json',
+2 -2
View File
@@ -79,7 +79,7 @@ function normalizeBackendRoute<
const normalized = { ...route }; const normalized = { ...route };
normalized.path = '/page-render/main_home'; normalized.path = '/page-render/main_home';
normalized.component = 'online-dev/page-render/index'; normalized.component = 'control-center/index';
normalized.query = undefined; normalized.query = undefined;
return normalized; return normalized;
} }
@@ -152,7 +152,7 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) {
'../views/ai-platform/workflow/editor/index.vue', '../views/ai-platform/workflow/editor/index.vue',
'../views/ai-platform/workflow/index.vue', '../views/ai-platform/workflow/index.vue',
'../views/ai-platform/workflow-runs/index.vue', '../views/ai-platform/workflow-runs/index.vue',
'../views/online-dev/page-render/index.vue', '../views/control-center/index.vue',
]); ]);
const layoutMap: ComponentRecordType = { const layoutMap: ComponentRecordType = {
File diff suppressed because it is too large Load Diff