From 83a8d19e27eba6523c71ce071d33eea9b93a645c Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Wed, 3 Jul 2024 19:51:49 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=9B=BE=E8=A1=A8):=20=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E6=8F=92=E4=BB=B6=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/views/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index 341d7b9653..6ba9608d69 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -545,7 +545,7 @@ onMounted(() => { cacheViewInfo.snapshotCacheViewRender.includes(view.value.id) || cacheViewInfo.snapshotCacheViewRender.includes('all') ) { - chartComponent?.value?.renderChart(view.value) + chartComponent?.value?.renderChart?.(view.value) } }) } @@ -572,7 +572,7 @@ onMounted(() => { initTitle() const viewInfo = val ? val : view.value nextTick(() => { - chartComponent?.value?.renderChart(viewInfo) + chartComponent?.value?.renderChart?.(viewInfo) }) } }) @@ -591,7 +591,7 @@ onMounted(() => { return } setTimeout(function () { - chartComponent?.value?.renderChart(view.value) + chartComponent?.value?.renderChart?.(view.value) }, 200) } }) @@ -622,7 +622,7 @@ const chartAreaShow = computed(() => { if (view.value.type === 'rich-text') { return true } - if (view.value?.plugin?.isPlugin) { + if (view.value?.isPlugin) { return true } if (view.value['dataFrom'] === 'template') {