update
This commit is contained in:
parent
b0a5c8c12a
commit
c95919a1a0
@ -182,6 +182,10 @@ class Search {
|
|||||||
const uid = this.isNodeInstance(currentNode)
|
const uid = this.isNodeInstance(currentNode)
|
||||||
? currentNode.getData('uid')
|
? currentNode.getData('uid')
|
||||||
: currentNode.data.uid
|
: currentNode.data.uid
|
||||||
|
if (!uid) {
|
||||||
|
callback()
|
||||||
|
return
|
||||||
|
}
|
||||||
const targetNode = this.mindMap.renderer.findNodeByUid(uid)
|
const targetNode = this.mindMap.renderer.findNodeByUid(uid)
|
||||||
this.mindMap.execCommand('GO_TARGET_NODE', uid, node => {
|
this.mindMap.execCommand('GO_TARGET_NODE', uid, node => {
|
||||||
if (!this.isNodeInstance(currentNode)) {
|
if (!this.isNodeInstance(currentNode)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user