12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- const Cookies = require('js-cookie')
- function getTitle() {
- let lang = Cookies.get('DefaultLanguage')
- if (lang === 'zh') {
- return '呼叫系统配置中心'
- } else if (lang === 'en') {
- return 'System Configuration'
- } else {
- return 'Configuración del sistema'
- }
- }
- module.exports = {
- title: getTitle(),
- /**
- * @type {boolean} true | false
- * @description Whether show the settings right-panel
- */
- showSettings: true,
- /**
- * @type {boolean} true | false
- * @description Whether need tagsView
- */
- tagsView: true,
- /**
- * @type {boolean} true | false
- * @description Whether fix the header
- */
- fixedHeader: false,
- /**
- * @type {boolean} true | false
- * @description Whether show the logo in sidebar
- */
- sidebarLogo: 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'
- }
|