perf: 修改错误单词

This commit is contained in:
奔跑的面条 2022-07-21 14:38:32 +08:00
parent f47c890d2f
commit 0067d4fd5a
2 changed files with 3 additions and 3 deletions

View File

@ -311,7 +311,7 @@ export const useChartEditStore = defineStore({
// 历史记录
if (isHistory) {
chartHistoryStore.createLaryerHistory(
chartHistoryStore.createLayerHistory(
setIndex(targetData, index),
isEnd ? HistoryActionTypeEnum.BOTTOM : HistoryActionTypeEnum.TOP
)
@ -359,7 +359,7 @@ export const useChartEditStore = defineStore({
// 历史记录
if (isHistory) {
chartHistoryStore.createLaryerHistory(
chartHistoryStore.createLayerHistory(
targetItem,
isDown ? HistoryActionTypeEnum.DOWN : HistoryActionTypeEnum.UP
)

View File

@ -180,7 +180,7 @@ export const useChartHistoryStore = defineStore({
)
},
// * 改变层级组件记录
createLaryerHistory(
createLayerHistory(
item: CreateComponentType,
type:
| HistoryActionTypeEnum.TOP