mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-05 13:37:45 +08:00
调整 copyright 默认设置
This commit is contained in:
parent
4f489c91d4
commit
d0eeb0fdb3
@ -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: '',
|
||||
},
|
||||
}
|
||||
|
@ -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
|
||||
|
8
src/types/global.d.ts
vendored
8
src/types/global.d.ts
vendored
@ -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
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user