feat: 新增多选的历史记录处理

This commit is contained in:
奔跑的面条
2022-08-16 20:41:41 +08:00
parent 4c353136d5
commit 01c2a20a0f
7 changed files with 118 additions and 122 deletions
@@ -96,7 +96,7 @@ const labelHandle = (e: HistoryItemType) => {
} else if (e.actionType === HistoryActionTypeEnum.GROUP) {
return `${historyActionTypeName[e.actionType]}`
} else {
return `${historyActionTypeName[e.actionType]} - ${(e.historyData as CreateComponentType).chartConfig.title}`
return `${historyActionTypeName[e.actionType]} - ${(e.historyData[0] as CreateComponentType).chartConfig.title}`
}
}