fix: 修复 group 展开后 下方部分数据不加载的问题

This commit is contained in:
zhangyu
2024-04-01 15:51:06 +08:00
parent 5f5b9ca4d1
commit e17027390e

View File

@@ -11,7 +11,7 @@
:col-num="12"
:is-draggable="!panelLock"
:is-resizable="!panelLock"
:layout.sync="copyDataList"
:layout.sync="copyDataList"git config global credential.helper store
:margin="isGroup ? [10, 10] : [10, 10]"
:row-height="stepWidth"
:vertical-compact="true"
@@ -393,8 +393,7 @@ export default {
this.$refs['chart' + item.id] && this.$refs['chart' + item.id][0].$refs.chart && this.$refs['chart' + item.id][0].$refs.chart.$refs['chart' + item.id] && this.$refs['chart' + item.id][0].$refs.chart.$refs['chart' + item.id].$refs.chartList.onScroll(scrollTop, top)
return
}
if (item.type === 'group' && !item.loaded) {
item.loaded = true
if (item.type === 'group') {
this.$refs['chart' + item.id] && this.$refs['chart' + item.id][0].getChartData()
}
if (item.loaded) {