diff --git a/nezha-fronted/src/components/chart/chartList.vue b/nezha-fronted/src/components/chart/chartList.vue index 05b28f89f..846167c15 100644 --- a/nezha-fronted/src/components/chart/chartList.vue +++ b/nezha-fronted/src/components/chart/chartList.vue @@ -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) {