如何合并一个操作产生的多条历史记录 #951
Answered
by
NewByVector
xhlichen163
asked this question in
Q&A
-
在解除组合元素时,会记录多条历史队列,导致undo时需要点击很多步,如何合并? // 历史记录面板 |
Beta Was this translation helpful? Give feedback.
Answered by
NewByVector
May 18, 2021
Replies: 1 comment
-
可以将批量操作放在一个事务中,这样只记录一次 history: graph.startBatch('name')
// do something
graph.stopBatch('name') |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NewByVector
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以将批量操作放在一个事务中,这样只记录一次 history: