fix: 处理分组前进后退的问题

This commit is contained in:
奔跑的面条
2022-08-17 16:18:00 +08:00
parent 716379fc9f
commit 1ee76efeb8
3 changed files with 89 additions and 88 deletions
@@ -166,7 +166,7 @@ export const useChartHistoryStore = defineStore({
},
// * 解除分组
createUnGroupHistory(item: Array<CreateComponentType | CreateComponentGroupType>) {
this.createStackItem(item, HistoryActionTypeEnum.GROUP, HistoryTargetTypeEnum.CHART)
this.createStackItem(item, HistoryActionTypeEnum.UN_GROUP, HistoryTargetTypeEnum.CHART)
}
}
})