mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-22 20:09:19 +08:00
36 lines
868 B
TypeScript
36 lines
868 B
TypeScript
/** 布局配置 */
|
|
interface LayoutSettings {
|
|
/** 是否显示 Settings Panel */
|
|
showSettings: boolean
|
|
/** 是否显示标签栏 */
|
|
showTagsView: boolean
|
|
/** 是否显示侧边栏 Logo */
|
|
showSidebarLogo: boolean
|
|
/** 是否固定 Header */
|
|
fixedHeader: boolean
|
|
/** 是否显示消息通知 */
|
|
showNotify: boolean
|
|
/** 是否显示切换主题按钮 */
|
|
showThemeSwitch: boolean
|
|
/** 是否显示全屏按钮 */
|
|
showScreenfull: boolean
|
|
/** 是否显示灰色模式 */
|
|
showGreyMode: boolean
|
|
/** 是否显示色弱模式 */
|
|
showColorWeakness: boolean
|
|
}
|
|
|
|
const layoutSettings: LayoutSettings = {
|
|
showSettings: true,
|
|
showTagsView: true,
|
|
fixedHeader: true,
|
|
showSidebarLogo: true,
|
|
showNotify: true,
|
|
showThemeSwitch: true,
|
|
showScreenfull: true,
|
|
showGreyMode: false,
|
|
showColorWeakness: false
|
|
}
|
|
|
|
export default layoutSettings
|