chore: drop account settings from light runtime
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user