perf: modify showLogo type: from string to Boolean

This commit is contained in:
lrl
2021-12-29 22:45:18 +08:00
parent 34eda14473
commit e61d6109d7
6 changed files with 13 additions and 13 deletions

View File

@@ -29,7 +29,7 @@ export const injectResponsiveStorage = (app: App, config: ServerConfigs) => {
grey: config.Grey ?? false,
weak: config.Weak ?? false,
hideTabs: config.HideTabs ?? false,
showLogo: config.ShowLogo ?? "1",
showLogo: config.ShowLogo ?? true,
showModel: config.ShowModel ?? "smart",
multiTagsCache: config.MultiTagsCache ?? false
}