NEZ-967 fix: 下滑框 内 diagram 图无法触发 悬浮图表

This commit is contained in:
zhangyu
2021-09-13 13:37:08 +08:00
parent e3b2457979
commit 979e856a2c
3 changed files with 10 additions and 4 deletions

View File

@@ -742,6 +742,9 @@ export default {
const chartBox = document.getElementById('chart-' + item.id)// this.$refs['editChart'+item.id][0];
this.handleElementInViewport(chartBox, scrollTop, item, index)
}
if (item.type === 'diagram') {
this.$refs['editChart' + item.id][0].resize()
}
if (item.type === 'group') {
this.$refs['editChart' + item.id][0].$refs.listGroup.loadChartData(scrollTop)
}