调整 copyright 默认设置

This commit is contained in:
Hooray Hu
2023-05-27 01:51:44 +08:00
parent 4f489c91d4
commit d0eeb0fdb3
3 changed files with 15 additions and 8 deletions
+4 -4
View File
@@ -45,10 +45,10 @@ const globalSettingsDefault: RecursiveRequired<Settings.all> = {
enableHotkeys: true,
},
copyright: {
enable: true,
dates: '2020-2023',
company: 'Fantastic-admin',
website: 'https://hooray.gitee.io/fantastic-admin/',
enable: false,
dates: '',
company: '',
website: '',
beian: '',
},
}
+7
View File
@@ -21,6 +21,13 @@ const globalSettings: Settings.all = {
enablePageReload: true,
enableColorScheme: true,
},
copyright: {
enable: true,
dates: '2020-2023',
company: 'Fantastic-admin',
website: 'https://hooray.gitee.io/fantastic-admin/',
beian: '',
},
}
export default globalSettings
+4 -4
View File
@@ -163,22 +163,22 @@ declare namespace Settings {
interface copyright {
/**
* 是否开启底部版权,同时在路由 meta 对象里可以单独设置某个路由是否显示底部版权信息
* @默认值 `true`
* @默认值 `false`
*/
enable?: boolean
/**
* 网站运行日期
* @默认值 `'2020-2022'`
* @默认值 `''`
*/
dates?: string
/**
* 公司名称
* @默认值 `'Fantastic-admin'`
* @默认值 `''`
*/
company?: string
/**
* 网站地址
* @默认值 `'https://hooray.gitee.io/fantastic-admin/'`
* @默认值 `''`
*/
website?: string
/**