From d0eeb0fdb34c7d9f074bf6e3d32092da67b977ab Mon Sep 17 00:00:00 2001 From: Hooray Hu <304327508@qq.com> Date: Sat, 27 May 2023 01:51:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20copyright=20=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/settings.default.ts | 8 ++++---- src/settings.ts | 7 +++++++ src/types/global.d.ts | 8 ++++---- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/settings.default.ts b/src/settings.default.ts index 2807f5a9..bcb994c7 100644 --- a/src/settings.default.ts +++ b/src/settings.default.ts @@ -45,10 +45,10 @@ const globalSettingsDefault: RecursiveRequired = { enableHotkeys: true, }, copyright: { - enable: true, - dates: '2020-2023', - company: 'Fantastic-admin', - website: 'https://hooray.gitee.io/fantastic-admin/', + enable: false, + dates: '', + company: '', + website: '', beian: '', }, } diff --git a/src/settings.ts b/src/settings.ts index dae13f9c..246f9bb4 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -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 diff --git a/src/types/global.d.ts b/src/types/global.d.ts index 072c3aa5..0749a236 100644 --- a/src/types/global.d.ts +++ b/src/types/global.d.ts @@ -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 /**