feat: 新增撤回前进功能

This commit is contained in:
MTrun
2022-02-04 18:28:02 +08:00
parent 7d5985f743
commit 7b24b90fbc
13 changed files with 198 additions and 70 deletions
@@ -75,7 +75,13 @@ const iconHandle = (e: HistoryItemType) => {
return renderIcon(TrashIcon)
case HistoryActionTypeEnum.PASTE:
return renderIcon(CopyIcon)
case HistoryActionTypeEnum.LARYER:
case HistoryActionTypeEnum.TOP:
return renderIcon(LayersIcon)
case HistoryActionTypeEnum.BOTTOM:
return renderIcon(LayersIcon)
case HistoryActionTypeEnum.UP:
return renderIcon(LayersIcon)
case HistoryActionTypeEnum.DOWN:
return renderIcon(LayersIcon)
case HistoryActionTypeEnum.MOVE:
return renderIcon(StackedMoveIcon)