This commit is contained in:
oneao committed 2026-10-10 17:33:59 +08:00
1 parent 5f28a10d89
commit 32d423b759
59 files changed
+5101 -1098

No files matched your search

@@ -14,8 +14,6 @@ export const defaultPreferences: Preferences = {
app: {
name: 'G3Soft ERP',
layout: 'sidebar-nav',
contentCompact: 'wide',
contentCompactWidth: 1200,
contentPadding: 16,
dynamicTitle: true,
enablePreferences: true,
@@ -47,6 +45,12 @@ export const defaultPreferences: Preferences = {
autoActivateChild: false,
expandOnHover: true,
draggable: true,
// 双列菜单默认值取自 vben 的 config.ts(mixedWidth 80 / extraCollapse false /
// extraCollapsedWidth 60)。第二列展开时复用上面的 width(224),与 vben 一致
// (vben 没有独立的 extraWidth 偏好,就是直接用 sidebar.width)。
mixedWidth: 80,
extraCollapse: false,
extraCollapsedWidth: 60,
theme: 'light',
},
@@ -55,6 +59,7 @@ export const defaultPreferences: Preferences = {
height: 50,
mode: 'fixed',
menuAlign: 'start',
showFullscreen: true,
theme: 'light',
},
@@ -83,6 +88,7 @@ export const defaultPreferences: Preferences = {
styleType: 'chrome',
showIcon: true,
showRefresh: true,
showFullscreen: true,
middleClickToClose: false,
wheelable: true,
persist: true,
@@ -90,12 +96,6 @@ export const defaultPreferences: Preferences = {
keepAlive: false,
},
footer: {
enable: false,
fixed: false,
height: 32,
},
transition: {
enable: true,
name: 'fade-slide',