fix: 修改key

This commit is contained in:
mtruning
2022-01-16 22:17:34 +08:00
parent c63637360f
commit e1bb655bf1
36 changed files with 130 additions and 86 deletions
@@ -58,7 +58,7 @@ export const useChartLayoutStore = defineStore({
;(this as any)[key] = value
setLocalStorage(GO_CHART_LAYOUT_STORE, this.$state)
},
setFilter<T extends keyof ChartLayoutType>(key: T, value: boolean): void {
setFilter<T extends keyof ChartLayoutFilterType>(key: T, value: boolean): void {
;(this.filter as any)[key] = value
setLocalStorage(GO_CHART_LAYOUT_STORE, this.$state)
},