Fix:修复隐藏节点时隐藏连线没有做异常处理的问题
This commit is contained in:
parent
9c60857c6a
commit
95fe3189d5
@ -560,7 +560,7 @@ class Node {
|
|||||||
this.hideGeneralization()
|
this.hideGeneralization()
|
||||||
if (this.parent) {
|
if (this.parent) {
|
||||||
let index = this.parent.children.indexOf(this)
|
let index = this.parent.children.indexOf(this)
|
||||||
this.parent._lines[index].hide()
|
this.parent._lines[index] && this.parent._lines[index].hide()
|
||||||
this._lines.forEach(item => {
|
this._lines.forEach(item => {
|
||||||
item.hide()
|
item.hide()
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user