You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.2 KiB
32 lines
1.2 KiB
2 years ago
|
/**
|
||
|
* 项目默认配置项
|
||
|
* primaryColor - 默认主题色
|
||
|
* navTheme - sidebar theme ['dark', 'light'] 两种主题
|
||
|
* colorWeak - 色盲模式
|
||
|
* layout - 整体布局方式 ['sidemenu', 'topmenu'] 两种布局
|
||
|
* fixedHeader - 固定 Header : boolean
|
||
|
* fixSiderbar - 固定左侧菜单栏 : boolean
|
||
|
* autoHideHeader - 向下滚动时,隐藏 Header : boolean
|
||
|
* contentWidth - 内容区布局: 流式 | 固定
|
||
|
*
|
||
|
* storageOptions: {} - Vue-ls 插件配置项 (localStorage/sessionStorage)
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
export default {
|
||
|
primaryColor: '#1890FF', // primary color of ant design
|
||
|
navTheme: 'light', // theme for nav menu
|
||
|
layout: 'sidemenu', // nav menu position: sidemenu or topmenu
|
||
|
contentWidth: 'Fixed', // layout of content: Fluid or Fixed, only works when layout is topmenu
|
||
|
fixedHeader: false, // sticky header
|
||
|
fixSiderbar: true, // sticky siderbar
|
||
|
autoHideHeader: false, // auto hide header
|
||
|
colorWeak: false,
|
||
|
multipage: true, //默认多页签模式
|
||
|
// vue-ls options
|
||
|
storageOptions: {
|
||
|
namespace: 'pro__', // key prefix
|
||
|
name: 'ls', // name variable Vue.[ls] or this.[$ls],
|
||
|
storage: 'local', // storage name session, local, memory
|
||
|
}
|
||
|
}
|