fix 80074

This commit is contained in:
赵霄
2024-01-08 11:50:25 +08:00
parent 9e37c2c208
commit eb40c64efd
+1 -1
View File
@@ -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 () {