diff --git a/src/theme/settings.ts b/src/theme/settings.ts index bba9617b..6ffbe9f6 100644 --- a/src/theme/settings.ts +++ b/src/theme/settings.ts @@ -2,34 +2,12 @@ export const themeSettings: App.Theme.ThemeSetting = { themeScheme: 'light', themeColor: '#646cff', - otherColor: { - info: '#2080f0', - success: '#52c41a', - warning: '#faad14', - error: '#f5222d' - }, + otherColor: { info: '#2080f0', success: '#52c41a', warning: '#faad14', error: '#f5222d' }, isInfoFollowPrimary: true, - layout: { - mode: 'vertical', - scrollMode: 'content' - }, - page: { - animate: true, - animateMode: 'fade-slide' - }, - header: { - height: 56, - breadcrumb: { - visible: true, - showIcon: true - } - }, - tab: { - visible: true, - cache: true, - height: 44, - mode: 'chrome' - }, + layout: { mode: 'vertical-mix', scrollMode: 'content' }, + page: { animate: true, animateMode: 'fade-slide' }, + header: { height: 56, breadcrumb: { visible: true, showIcon: true } }, + tab: { visible: false, cache: true, height: 44, mode: 'chrome' }, fixedHeaderAndTab: true, sider: { inverted: false, @@ -39,12 +17,7 @@ export const themeSettings: App.Theme.ThemeSetting = { mixCollapsedWidth: 64, mixChildMenuWidth: 200 }, - footer: { - visible: true, - fixed: false, - height: 48, - right: true - } + footer: { visible: false, fixed: false, height: 48, right: true } }; /** diff --git a/src/typings/components.d.ts b/src/typings/components.d.ts index afeb02d0..d3126a6d 100644 --- a/src/typings/components.d.ts +++ b/src/typings/components.d.ts @@ -42,8 +42,6 @@ declare module 'vue' { NCheckbox: typeof import('naive-ui')['NCheckbox'] NColorPicker: typeof import('naive-ui')['NColorPicker'] NDataTable: typeof import('naive-ui')['NDataTable'] - NDescriptions: typeof import('naive-ui')['NDescriptions'] - NDescriptionsItem: typeof import('naive-ui')['NDescriptionsItem'] NDialogProvider: typeof import('naive-ui')['NDialogProvider'] NDivider: typeof import('naive-ui')['NDivider'] NDrawer: typeof import('naive-ui')['NDrawer'] @@ -76,7 +74,6 @@ declare module 'vue' { NSwitch: typeof import('naive-ui')['NSwitch'] NTab: typeof import('naive-ui')['NTab'] NTabs: typeof import('naive-ui')['NTabs'] - NTag: typeof import('naive-ui')['NTag'] NThing: typeof import('naive-ui')['NThing'] NTooltip: typeof import('naive-ui')['NTooltip'] PinToggler: typeof import('./../components/common/pin-toggler.vue')['default']