mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 14:04:47 +08:00
Fix:修复处于回退操作中激活节点后无法前进的问题
This commit is contained in:
@@ -104,7 +104,7 @@ class Command {
|
||||
return
|
||||
}
|
||||
const lastData =
|
||||
this.history.length > 0 ? this.history[this.history.length - 1] : null
|
||||
this.history.length > 0 ? this.history[this.activeHistoryIndex] : null
|
||||
const data = this.getCopyData()
|
||||
// 此次数据和上次一样则不重复添加
|
||||
if (lastData === data) return
|
||||
|
||||
Reference in New Issue
Block a user