Are you an LLM? You can read better optimized documentation at /front/advanced/system-config.md for this page in Markdown format
System Parameter Configuration β
Configuration Files
- Default configuration file:
src/provider/settings/index.ts
- Custom configuration file:
src/provider/settings/settings.config.ts
To modify configurations, copy the default settings to settings.config.ts
and make changes there. The system will automatically merge them upon loading.
Default Configuration β
ts
const defaultGlobalConfigSettings: RecursiveRequired<SystemSettings.all> = {
app: {
colorMode: 'autoMode',
useLocale: 'zh_CN',
whiteRoute: ['login'],
layout: 'classic',
pageAnimate: 'ma-slide-down',
enableWatermark: false,
primaryColor: '#2563EB',
asideDark: false,
showBreadcrumb: true,
loadUserSetting: true,
watermarkText: import.meta.env.VITE_APP_TITLE,
},
welcomePage: {
name: 'welcome',
path: '/welcome',
title: 'Welcome Page',
icon: 'icon-park-outline:jewelry',
},
mainAside: {
showIcon: true,
showTitle: true,
enableOpenFirstRoute: false,
},
subAside: {
showIcon: true,
showTitle: true,
fixedAsideState: false,
showCollapseButton: true,
},
tabbar: {
enable: true,
mode: 'rectangle',
},
copyright: {
enable: true,
dates: useDayjs().format('YYYY'),
company: 'MineAdmin Team',
website: 'https://www.mineadmin.com',
putOnRecord: '豫ICPε€00000000ε·-1',
},
}
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
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