fix 80074
This commit is contained in:
@@ -98,7 +98,6 @@ export default {
|
||||
this.isLoadEnd = true
|
||||
const dom = document.getElementById(this.domId)
|
||||
this.observer = new ResizeObserver(this.handleResize)
|
||||
console.log(this.observer)
|
||||
this.observer.observe(dom, { box: 'border-box' })
|
||||
})
|
||||
},
|
||||
@@ -337,6 +336,7 @@ export default {
|
||||
return
|
||||
}
|
||||
this.graph.changeSize(document.getElementById(this.domId).clientWidth, document.getElementById(this.domId).clientHeight)
|
||||
this.graph.fitCenter()
|
||||
}
|
||||
},
|
||||
beforeDestroy () {
|
||||
|
||||
Reference in New Issue
Block a user