NEZ-1221 fix: diagram 类型图 因为鼠标滚轮放大缩小导致悬浮展示有误的问题
This commit is contained in:
@@ -1448,6 +1448,10 @@ export default {
|
||||
if (this.$refs.topTool) {
|
||||
this.$refs.topTool.scaleNum = parseInt(data * 100)
|
||||
}
|
||||
const domRect = document.getElementById('topology-canvas' + this.topologyIndexF).getBoundingClientRect()
|
||||
if (getTopology(this.topologyIndex)) {
|
||||
getTopology(this.topologyIndex).canvasPos = domRect
|
||||
}
|
||||
break
|
||||
}
|
||||
case 'locked': {
|
||||
|
||||
Reference in New Issue
Block a user