调整 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

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: '',
},
}

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

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
/**