alibaba / alibaba/lowcode-engine

大纲树对容器和插槽中的撤销未同步

Open
#2,581 1 comment 0 reactions 2 assignees Claimed by @SuSunSam View on GitHub
bug help wanted
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

## 容器中的撤销未同步
复现步骤:
1. 打开官网的综合场景随便删除一个组件,例如删除
![image](https://github.com/alibaba/lowcode-engine/assets/27946984/dfcc5ee7-a0ef-4155-baef-5fc18f572634)
看到左侧的大纲树中确实没有这个容器了
![image](https://github.com/alibaba/lowcode-engine/assets/27946984/b155ba7f-f7fd-49b6-82f8-0964cc10d4cb)
2. 撤销,画布中出现了刚才删除的容器,但是大纲树中没有恢复
![image](https://github.com/alibaba/lowcode-engine/assets/27946984/c14f9f6a-c804-4db4-8247-2c3ccc8d9b26)
大纲树要钉住
## 插槽中的组件撤销未同步
复现步骤:
1. 打开官网的基础antd场景,拖一个主按钮
![image](https://github.com/alibaba/lowcode-engine/assets/27946984/5014b1a4-fed0-4a4b-bd5d-7b5670ee1385)
2. 删除主按钮中的图标
![image](https://github.com/alibaba/lowcode-engine/assets/27946984/c2fde523-c340-4098-9eb9-c5eb00fa5ed9)
3. 撤销操作,发现主按钮中的图标有但是大纲树中没有
![image](https://github.com/alibaba/lowcode-engine/assets/27946984/76430a02-4274-4d50-a2a7-3bcf69e4218a)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.