interface ISettings {
|
title: string;
|
showSettings: boolean;
|
tagsView: boolean;
|
fixedHeader: boolean;
|
sidebarLogo: boolean;
|
secondMenuPopup: boolean;
|
errorLog: string | string[];
|
}
|
|
const settings:ISettings = {
|
title: '蓄电池监控管理系统',
|
|
/**
|
* @type {boolean} true | false
|
* @description Whether show the settings right-panel
|
*/
|
showSettings: false,
|
|
/**
|
* @type {boolean} true | false
|
* @description Whether need tagsView
|
*/
|
tagsView: true,
|
|
/**
|
* @type {boolean} true | false
|
* @description Whether fix the header
|
*/
|
fixedHeader: true,
|
|
/**
|
* @type {boolean} true | false
|
* @description Whether show the logo in sidebar
|
*/
|
sidebarLogo: true,
|
|
/**
|
* @type {boolean} true | false
|
* @description 左侧菜单子目录气泡显示
|
*/
|
secondMenuPopup: false,
|
|
/**
|
* @type {string | array} 'production' | ['production', 'development']
|
* @description Need show err logs component.
|
* The default is only used in the production env
|
* If you want to also use it in dev, you can pass ['production', 'development']
|
*/
|
errorLog: ['production', 'development'] // ['production', 'development'], 'production'
|
};
|
|
export default settings;
|