mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增工具栏模块, 修改系统设置初始化结构
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
import { SettingStoreEnums, ToolsStatusEnum } from '@/store/modules/settingStore/settingStore.d'
|
||||
|
||||
// * 系统全局设置
|
||||
|
||||
// 侧边栏折叠是否隐藏全部
|
||||
export const asideAllCollapsed = true
|
||||
|
||||
// 拖拽页面左侧表单分类只有一项的时候是否隐藏
|
||||
export const hidePackageOneCategory = true
|
||||
|
||||
// 切换语言是否进行路由刷新
|
||||
export const changeLangReload = false
|
||||
|
||||
// 图表移动时按方向键移动的距离
|
||||
export const chartMoveDistance = 5
|
||||
|
||||
// 图表拖拽时的吸附距离(px)
|
||||
export const chartAlignRange = 10
|
||||
export const systemSetting = {
|
||||
// 侧边栏折叠是否隐藏全部
|
||||
[SettingStoreEnums.ASIDE_ALL_COLLAPSED]: true,
|
||||
// 拖拽页面左侧表单分类只有一项的时候是否隐藏
|
||||
[SettingStoreEnums.HIDE_PACKAGE_ONE_CATEGORY]: true,
|
||||
// 切换语言是否进行路由刷新
|
||||
[SettingStoreEnums.CHANGE_LANG_RELOAD]: false,
|
||||
// 图表移动时按方向键移动的距离
|
||||
[SettingStoreEnums.CHART_MOVE_DISTANCE]: 5,
|
||||
// 图表拖拽时的吸附距离(px)
|
||||
[SettingStoreEnums.CHART_ALIGN_RANGE]: 10,
|
||||
// 图表工具栏状态(侧边工具状态)
|
||||
[SettingStoreEnums.CHART_TOOLS_STATUS]: ToolsStatusEnum.ASIDE
|
||||
}
|
||||
Reference in New Issue
Block a user