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

[Feature]: 画布切换数据的时候,像清除control面板的history数据,置灰上一步,下一步,有api调用吗? #1439

Closed
z-lionel opened this issue Nov 27, 2023 · 1 comment

Comments

@z-lionel
Copy link

背景&目的

画布切换数据的时候,像清除control面板的history数据,置灰上一步,下一步,有api调用吗?
在文档里面没有找到方法

@boyongjiong
Copy link
Collaborator

直接调用下 lf.history.undos = [] 就可以将 history 清空

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

No branches or pull requests

2 participants