From e17027390e2b32a53ed2b74c31e14045de3f868b Mon Sep 17 00:00:00 2001 From: zhangyu Date: Mon, 1 Apr 2024 15:51:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20group=20=E5=B1=95?= =?UTF-8?q?=E5=BC=80=E5=90=8E=20=E4=B8=8B=E6=96=B9=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=B8=8D=E5=8A=A0=E8=BD=BD=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/chart/chartList.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) {