We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在对节点进行undo/redo操作时,一旦undo将节点删除,再redo将节点还原,节点修改过的数据就会丢失。
https://codesandbox.io/p/sandbox/reverent-flower-38qz45
1.打开页面,自动添加节点 2.点击change按钮,更改节点数据 3.点击get按钮,获取节点数据 20-20 4.点击undo按钮,撤销数据更改 5.点击undo按钮,撤销节点添加 6.点击redo按钮,还原节点添加 7.点击redo按钮,还原数据更改 8.点击get按钮,获取节点数据 10-10
8点击get按钮,获取节点数据 20-20
No response
The text was updated successfully, but these errors were encountered:
打不开
Sorry, something went wrong.
你是不是每一个步骤都添加到历史记录里面去了,数据的操作你应该要从历史记录中剔除掉的
@cuidong626 https://codesandbox.io/p/sandbox/reverent-flower-38qz45
No branches or pull requests
Describe the bug
在对节点进行undo/redo操作时,一旦undo将节点删除,再redo将节点还原,节点修改过的数据就会丢失。
Your Example Website or App
https://codesandbox.io/p/sandbox/reverent-flower-38qz45
Steps to Reproduce the Bug or Issue
1.打开页面,自动添加节点
2.点击change按钮,更改节点数据
3.点击get按钮,获取节点数据 20-20
4.点击undo按钮,撤销数据更改
5.点击undo按钮,撤销节点添加
6.点击redo按钮,还原节点添加
7.点击redo按钮,还原数据更改
8.点击get按钮,获取节点数据 10-10
Expected behavior
8点击get按钮,获取节点数据 20-20
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: