ikuaitu / vue-fabric-editor

快图设计-基于fabric.js和Vue的开源图片编辑器,可自定义字体、素材、设计模板。fabric.js and Vue based image editor, can customize fonts, materials, design templates.
https://ikuaitu.github.io/doc/#/
MIT License
5.43k stars 986 forks source link

undo redo bug #522

Closed zhangbo87 closed 1 week ago

zhangbo87 commented 2 weeks ago

Describe the bug 你好这个撤销和重做测试下来还是有bug比如移动画布上的一个元素就会存在撤销不了的情况 bug To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

zhangbo87 commented 2 weeks ago

我删掉,再撤销,再删除,然后再撤销就出不来了

nihaojob commented 1 week ago

可以参考下 大佬的 PR https://github.com/ikuaitu/vue-fabric-editor/pull/521 对错误进行了修正,后边会合并到分支。

nihaojob commented 1 week ago

https://github.com/ikuaitu/vue-fabric-editor/pull/521 已合并到主分支