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] 调整边的锚点操作时,历史记录中增加的中间状态数据,导致回退时异常 #1362

Open
boyongjiong opened this issue Oct 11, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@boyongjiong
Copy link
Collaborator

问题描述

调整边的锚点操作时,历史记录中增加的中间状态数据,导致 undo 操作时出现异常数据

请用简洁的语言描述你遇到的 bug,至少包括以下部分,如提供截图请尽量完整:
初始状态
image
调整完边的最终状态
image

此时,调用 lf.undo() 方法时,会出现如下的中间步骤数据
image
image

  1. 问题触发的条件,如何复现
  2. 期望的表现
  3. 实际的表现

最简复现

一般来说通过文字和截图的描述我们很难定位到问题,为了帮助我们快速定位问题并修复,请选择以下方式编写并上传最简复现 demo:

  1. 在任意在线编码平台如 codesanbox 编写示例。将其保存到自己空间,然后贴上链接。
  2. 在自己 github 中创建一个最简单的示例,然后贴上 github 链接。
  3. 删除项目中的 node_modules 部分,打包项目,并拖拽到 issue 输入框中上传(或提供远程可下载地址)。

相关信息 context

LogicFlow Version:
Node Version:
Platform:

@boyongjiong boyongjiong added the bug Something isn't working label Oct 11, 2023
@boyongjiong boyongjiong self-assigned this Oct 11, 2023
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

1 participant