fix(frontend): 修复 settings store 字段缺失导致运行时错误
- settings.js 补充 navType/tagsViewPersist/tagsIcon/tagsViewStyle 字段 - settings store 解构补充 footerVisible/footerContent 导入 - 修复 setTitle is not a function 错误 - 修复 footerVisible is not defined 错误
This commit is contained in:
@@ -17,15 +17,30 @@ export default {
|
||||
showSettings: true,
|
||||
|
||||
/**
|
||||
* 是否显示顶部导航
|
||||
* 菜单导航模式 1、纯左侧 2、混合(左侧+顶部) 3、纯顶部
|
||||
*/
|
||||
topNav: false,
|
||||
navType: 1,
|
||||
|
||||
/**
|
||||
* 是否显示 tagsView
|
||||
*/
|
||||
tagsView: true,
|
||||
|
||||
/**
|
||||
* 持久化标签页
|
||||
*/
|
||||
tagsViewPersist: false,
|
||||
|
||||
/**
|
||||
* 显示页签图标
|
||||
*/
|
||||
tagsIcon: false,
|
||||
|
||||
/**
|
||||
* 标签页样式:card 卡片(默认)、chrome 谷歌浏览器风格
|
||||
*/
|
||||
tagsViewStyle: 'card',
|
||||
|
||||
/**
|
||||
* 是否固定头部
|
||||
*/
|
||||
@@ -44,8 +59,6 @@ export default {
|
||||
/**
|
||||
* @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',
|
||||
|
||||
@@ -58,4 +71,4 @@ export default {
|
||||
* 底部版权内容
|
||||
*/
|
||||
footerContent: 'Copyright © 2018-2026 OpenHIS. All Rights Reserved.'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user