Closed ayaayaayaai closed 2 years ago
👋 @ayaayaayaai
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
画布撤销功能,我在 dev 分支里面实现了,你可以拉这个分支看一下咋写的~
已解决
请问怎么解决的
首先,我没有在楼上所说的dev分支上看到解决的方案,也许是我自己没看到而已。我看过x6的文档,在graph实例里可以拿到history对象。因此我将history通过meta透传。这可能是比较笨的方法,目前我只能这么做。
This thread has been automatically locked because it has not had recent activity.
Please open a new issue for related bugs and link to relevant comments in this thread.
问题描述
XFlow 流程解决 菜单栏中的撤销功能不能实现 getGraphHistory() 找不到
重现链接
https://codesandbox.io/s/old-river-cyc9ih?file=/config-toolbar.ts:2695-2710
重现步骤
预期行为
撤销功能可以实现
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response