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] 成组->撤销(解除组)->回退(创建组)->撤销(解除组【无效】) #63

Closed
JessYan0913 opened this issue Mar 10, 2024 · 1 comment · Fixed by #64
Assignees

Comments

@JessYan0913
Copy link
Owner

Bug Report / 缺陷报告

问题描述 / Describe the bug

成组->撤销(解除组)->回退(创建组)->撤销(解除组【无效】)

Kapture 2024-03-10 at 22 39 34

复现步骤 / To Reproduce

  1. 创建组

image

  1. 撤销

image

image

  1. 回退

image

image

  1. 撤销

期望行为 / Expected behavior

创建组后无论被撤销回退多少次都应该正确的创建和解除组

桌面设备信息 / Desktop (please complete the following information):

  • OS: MacBook
  • Browser: chrome
  • Version: 1.0.1
@JessYan0913 JessYan0913 self-assigned this Mar 10, 2024
@JessYan0913
Copy link
Owner Author

这个Bug主要的原因是第一次创建的组和撤销后回退创建的组并不是一个组,撤销后回退创建的组并没有被历史记录缓存,因此plugin-historyMakeGroupCmd命令在执行回退的时候并没有更新存储的group变量导致的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant