chore: drop account settings from light runtime

This commit is contained in:
2026-06-12 14:32:55 +08:00
parent bfbbfb1b62
commit a77f2cec60
3 changed files with 0 additions and 5 deletions
-1
View File
@@ -32,7 +32,6 @@ const baseModules = import.meta.glob([
const businessModules = import.meta.glob([
'./langs/zh-CN/ai-platform.json',
'./langs/zh-CN/announcement.json',
'./langs/zh-CN/apiToken.json',
'./langs/zh-CN/menu.json',
'./langs/zh-CN/permission.json',
'./langs/zh-CN/role.json',
-1
View File
@@ -126,7 +126,6 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) {
'../views/_core/agent-chat/**/*.vue',
'../views/_core/announcement/index.vue',
'../views/_core/announcement/list.vue',
'../views/_core/account-settings/index.vue',
'../views/_core/authentication/login.vue',
'../views/_core/fallback/**/*.vue',
'../views/_core/file-preview/index.vue',
@@ -5,7 +5,6 @@ export const LIGHT_MENU_NAMES = new Set([
'AIPlatform',
'AIWorkflow',
'AIWorkflowRuns',
'AccountSettings',
'AnnouncementList',
'AnnouncementManage',
'ControlCenter',
@@ -15,11 +14,9 @@ export const LIGHT_MENU_NAMES = new Set([
'SystemPermission',
'SystemRole',
'UserManagement',
'userSettings',
]);
const LIGHT_ROUTE_PATH_PREFIXES = [
'/account-settings',
'/ai-platform/agent',
'/ai-platform/knowledge',
'/ai-platform/knowledge-base',