Restore UI configuration entry
This commit is contained in:
@@ -7478,6 +7478,51 @@
|
||||
"sys_dept_id": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "core.menu.model.Menu",
|
||||
"pk": "ai-agent-admin-system-ui-config",
|
||||
"fields": {
|
||||
"application_id": null,
|
||||
"is_system": true,
|
||||
"parent_id": "2c03f7a0-f4b5-43a9-94",
|
||||
"name": "UIConfigManager",
|
||||
"title": "menu-title.uiConfig",
|
||||
"authCode": null,
|
||||
"path": "/system/ui-config",
|
||||
"type": "menu",
|
||||
"component": "/_core/ui-config/index",
|
||||
"redirect": null,
|
||||
"activePath": null,
|
||||
"query": null,
|
||||
"noBasicLayout": false,
|
||||
"icon": "lucide:paintbrush",
|
||||
"activeIcon": null,
|
||||
"order": 46,
|
||||
"hideInMenu": false,
|
||||
"hideChildrenInMenu": false,
|
||||
"hideInBreadcrumb": false,
|
||||
"hideInTab": false,
|
||||
"affixTab": false,
|
||||
"affixTabOrder": null,
|
||||
"keepAlive": false,
|
||||
"maxNumOfOpenTab": null,
|
||||
"fullPathKey": true,
|
||||
"link": null,
|
||||
"iframeSrc": null,
|
||||
"openInNewWindow": false,
|
||||
"badge": null,
|
||||
"badgeType": null,
|
||||
"badgeVariants": null,
|
||||
"id": "ai-agent-admin-system-ui-config",
|
||||
"sort": 46,
|
||||
"is_deleted": false,
|
||||
"sys_create_datetime": "2026-06-10T00:00:00.000000",
|
||||
"sys_update_datetime": "2026-06-10T00:00:00.000000",
|
||||
"sys_creator_id": null,
|
||||
"sys_modifier_id": null,
|
||||
"sys_dept_id": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "core.menu.model.Menu",
|
||||
"pk": "c4b8daa0-7e1c-4039-9a",
|
||||
|
||||
@@ -71,7 +71,7 @@ export function mergePreferencesConfig(
|
||||
current: PreferencesConfig,
|
||||
updates: PreferencesConfig,
|
||||
): PreferencesConfig {
|
||||
return merge({}, updates, current) as PreferencesConfig;
|
||||
return merge({}, current, updates) as PreferencesConfig;
|
||||
}
|
||||
|
||||
// ============ 前端偏好配置API ============
|
||||
|
||||
@@ -38,6 +38,7 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) {
|
||||
'../views/_core/post/index.vue',
|
||||
'../views/_core/role/index.vue',
|
||||
'../views/_core/system-config/index.vue',
|
||||
'../views/_core/ui-config/index.vue',
|
||||
'../views/_core/user/index.vue',
|
||||
'../views/ai-platform/agent/editor/index.vue',
|
||||
'../views/ai-platform/agent/index.vue',
|
||||
|
||||
Reference in New Issue
Block a user