feat: 新增工具栏模块, 修改系统设置初始化结构

This commit is contained in:
MTrun
2022-04-09 16:40:57 +08:00
parent 5e6ecfc3e5
commit 5904d04e2e
11 changed files with 178 additions and 73 deletions
@@ -8,7 +8,7 @@ const chartEditStore = useChartEditStore()
const { GO_CHART_LAYOUT_STORE } = StorageEnum
const storageChartLayout: ChartLayoutType = getLocalStorage( GO_CHART_LAYOUT_STORE)
const storageChartLayout: ChartLayoutType = getLocalStorage(GO_CHART_LAYOUT_STORE)
// 编辑区域布局和静态设置
export const useChartLayoutStore = defineStore({
@@ -20,9 +20,7 @@ export const useChartLayoutStore = defineStore({
// 图表组件
charts: true,
// 详情设置
details: true,
// 对齐线
alignLine: true,
details: true
},
getters: {
getLayers(): boolean {
@@ -33,9 +31,6 @@ export const useChartLayoutStore = defineStore({
},
getDetails(): boolean {
return this.details
},
getAlignLine(): boolean {
return this.alignLine
}
},
actions: {