Restore UI configuration entry

This commit is contained in:
2026-06-10 10:21:05 +08:00
parent 77d8c75551
commit 6ff08d53bf
3 changed files with 47 additions and 1 deletions
+1 -1
View File
@@ -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 ============
+1
View File
@@ -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',