From a0c56e99b7d81f1397220ebda40b0f83fb778713 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Tue, 24 Oct 2023 21:08:29 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=BB=98=E8=AE=A4=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E9=A1=B5=E8=84=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/platform-config.json | 2 +- src/layout/hooks/useLayout.ts | 2 +- src/utils/responsive.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/platform-config.json b/public/platform-config.json index 6860406f9..c4ceff9d0 100644 --- a/public/platform-config.json +++ b/public/platform-config.json @@ -12,7 +12,7 @@ "Grey": false, "Weak": false, "HideTabs": false, - "HideFooter": false, + "HideFooter": true, "SidebarStatus": true, "EpThemeColor": "#409EFF", "ShowLogo": true, diff --git a/src/layout/hooks/useLayout.ts b/src/layout/hooks/useLayout.ts index 0e768cf8f..b022cafcf 100644 --- a/src/layout/hooks/useLayout.ts +++ b/src/layout/hooks/useLayout.ts @@ -36,7 +36,7 @@ export function useLayout() { grey: $config?.Grey ?? false, weak: $config?.Weak ?? false, hideTabs: $config?.HideTabs ?? false, - hideFooter: $config.HideFooter ?? false, + hideFooter: $config.HideFooter ?? true, showLogo: $config?.ShowLogo ?? true, showModel: $config?.ShowModel ?? "smart", multiTagsCache: $config?.MultiTagsCache ?? false diff --git a/src/utils/responsive.ts b/src/utils/responsive.ts index b5c8f189b..503fb102b 100644 --- a/src/utils/responsive.ts +++ b/src/utils/responsive.ts @@ -24,7 +24,7 @@ export const injectResponsiveStorage = (app: App, config: PlatformConfigs) => { grey: config.Grey ?? false, weak: config.Weak ?? false, hideTabs: config.HideTabs ?? false, - hideFooter: config.HideFooter ?? false, + hideFooter: config.HideFooter ?? true, showLogo: config.ShowLogo ?? true, showModel: config.ShowModel ?? "smart", multiTagsCache: config.MultiTagsCache ?? false