Fix:修复搜索定位到某个节点后删除该节点,再次搜索搜索结果未更新的问题
This commit is contained in:
parent
5d0c9dcab1
commit
a2acf810cb
@ -82,6 +82,7 @@ class Search {
|
|||||||
let currentNode = this.matchNodeList[this.currentIndex]
|
let currentNode = this.matchNodeList[this.currentIndex]
|
||||||
this.notResetSearchText = true
|
this.notResetSearchText = true
|
||||||
this.mindMap.execCommand('GO_TARGET_NODE', currentNode, () => {
|
this.mindMap.execCommand('GO_TARGET_NODE', currentNode, () => {
|
||||||
|
this.notResetSearchText = false
|
||||||
callback()
|
callback()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user