NEZ-967 fix: 下滑框 内 diagram 图无法触发 悬浮图表
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user