fix: 新增组件

This commit is contained in:
mtruning
2022-01-15 14:56:48 +08:00
parent b7a372e50f
commit d2fabeae5f
25 changed files with 112 additions and 47 deletions
@@ -33,8 +33,8 @@ export const useChartLayoutStore = defineStore({
// 对比度
contrast: 100,
// 不透明度
unOpacity: 100
}
unOpacity: 100,
},
},
getters: {
getLayers(): boolean {
@@ -51,7 +51,7 @@ export const useChartLayoutStore = defineStore({
},
getFilter(): ChartLayoutFilterType {
return this.filter
}
},
},
actions: {
setItem(key: string, value: boolean): void {
@@ -61,8 +61,8 @@ export const useChartLayoutStore = defineStore({
setFilter<T extends keyof ChartLayoutType>(key: T, value: boolean): void {
;(this.filter as any)[key] = value
setLocalStorage(GO_CHART_LAYOUT_STORE, this.$state)
}
}
},
},
})
export function useChartLayoutSettingWithOut() {