feat: 新增移动快捷键与全局设置

This commit is contained in:
奔跑的面条
2022-04-01 10:25:13 +08:00
parent b2ed8a57a7
commit daf5537aea
14 changed files with 126 additions and 31 deletions
@@ -3,7 +3,8 @@ import {
hidePackageOneCategory,
changeLangReload,
asideAllCollapsed,
chartAlignRange
chartAlignRange,
chartMoveDistance
} from '@/settings/systemSetting'
import { asideCollapsedWidth } from '@/settings/designSetting'
import { SettingStoreType } from './settingStore.d'
@@ -21,7 +22,8 @@ export const useSettingStore = defineStore({
hidePackageOneCategory,
changeLangReload,
asideAllCollapsed,
chartAlignRange
chartMoveDistance,
chartAlignRange,
},
getters: {
getHidePackageOneCategory(): boolean {
@@ -36,6 +38,9 @@ export const useSettingStore = defineStore({
getAsideCollapsedWidth(): number {
return this.asideAllCollapsed ? 0 : asideCollapsedWidth
},
getChartMoveDistance(): number {
return this.chartMoveDistance
},
getChartAlignRange(): number {
return this.chartAlignRange
}