gaoluyang
2026-06-24 c0cb161bb52ce0fbdce5c66ec391d107c75e2452
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
 
exports[`defaultPreferences immutability test > should not modify the config object 1`] = `
{
  "app": {
    "accessMode": "frontend",
    "authPageLayout": "panel-right",
    "checkUpdatesInterval": 1,
    "colorGrayMode": false,
    "colorWeakMode": false,
    "compact": false,
    "contentCompact": "wide",
    "contentCompactWidth": 1200,
    "contentPadding": 0,
    "contentPaddingBottom": 0,
    "contentPaddingLeft": 0,
    "contentPaddingRight": 0,
    "contentPaddingTop": 0,
    "defaultAvatar": "https://unpkg.com/@vbenjs/static-source@0.1.7/source/avatar-v1.webp",
    "defaultHomePath": "/analytics",
    "dynamicTitle": true,
    "enableCheckUpdates": true,
    "enableCopyPreferences": true,
    "enablePreferences": true,
    "enableRefreshToken": false,
    "enableStickyPreferencesNavigationBar": true,
    "isMobile": false,
    "layout": "sidebar-nav",
    "locale": "zh-CN",
    "loginExpiredMode": "page",
    "name": "Vben Admin",
    "preferencesButtonPosition": "auto",
    "timezone": "Asia/Shanghai",
    "watermark": false,
    "watermarkContent": "",
    "zIndex": 200,
  },
  "breadcrumb": {
    "enable": true,
    "hideOnlyOne": false,
    "showHome": false,
    "showIcon": true,
    "styleType": "normal",
  },
  "copyright": {
    "companyName": "Vben",
    "companySiteLink": "https://www.vben.pro",
    "date": "2024",
    "enable": true,
    "icp": "",
    "icpLink": "",
    "settingShow": true,
  },
  "footer": {
    "enable": false,
    "fixed": false,
    "height": 32,
  },
  "header": {
    "enable": true,
    "height": 50,
    "hidden": false,
    "menuAlign": "start",
    "mode": "fixed",
  },
  "logo": {
    "enable": true,
    "fit": "contain",
    "source": "https://unpkg.com/@vbenjs/static-source@0.1.7/source/logo-v1.webp",
  },
  "navigation": {
    "accordion": true,
    "split": true,
    "styleType": "rounded",
  },
  "shortcutKeys": {
    "enable": true,
    "globalEscape": false,
    "globalLockScreen": true,
    "globalLogout": true,
    "globalPreferences": true,
    "globalSearch": true,
  },
  "sidebar": {
    "autoActivateChild": false,
    "collapseWidth": 60,
    "collapsed": false,
    "collapsedButton": true,
    "collapsedShowTitle": false,
    "draggable": true,
    "enable": true,
    "expandOnHover": true,
    "extraCollapse": false,
    "extraCollapsedWidth": 60,
    "fixedButton": true,
    "hidden": false,
    "mixedWidth": 80,
    "width": 224,
  },
  "tabbar": {
    "draggable": true,
    "enable": true,
    "height": 38,
    "keepAlive": true,
    "maxCount": 0,
    "middleClickToClose": false,
    "persist": true,
    "showIcon": true,
    "showMaximize": true,
    "showMore": true,
    "showRefresh": true,
    "styleType": "chrome",
    "visitHistory": true,
    "wheelable": true,
  },
  "theme": {
    "builtinType": "default",
    "colorDestructive": "hsl(348 100% 61%)",
    "colorPrimary": "hsl(212 100% 45%)",
    "colorSuccess": "hsl(144 57% 58%)",
    "colorWarning": "hsl(42 84% 61%)",
    "fontSize": 16,
    "mode": "dark",
    "radius": "0.5",
    "semiDarkHeader": false,
    "semiDarkSidebar": false,
    "semiDarkSidebarSub": false,
  },
  "transition": {
    "enable": true,
    "loading": true,
    "name": "fade-slide",
    "progress": true,
  },
  "widget": {
    "fullscreen": true,
    "globalSearch": true,
    "languageToggle": true,
    "lockScreen": true,
    "notification": true,
    "refresh": true,
    "sidebarToggle": true,
    "themeToggle": true,
    "timezone": true,
  },
}
`;