Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report]: properties内存在动态属性, 上一步事件redo()失效 #1974

Open
cl1169451697 opened this issue Nov 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@cl1169451697
Copy link

发生了什么?

image

image
拖动两个一样的节点,
如果 properties内的属性一致,(点击上一步后下一步是有效的),
但是properties内某个属性不一致(下一步是失效的)知道是否和源码中的 add()深拷贝是否有关
https://github.com/didi/LogicFlow/blob/master/packages/core/src/history/index.ts
if (!isEqual(this.curData, data)) { this.redos = [] }

logicflow/core版本

2.0.6

logicflow/extension版本

2.0.10

logicflow/engine版本

浏览器&环境

Chrome

@cl1169451697 cl1169451697 added the bug Something isn't working label Nov 28, 2024
@DymoneLewis DymoneLewis self-assigned this Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants