From c0f483704fc085718c67d2afd214481509ddc520 Mon Sep 17 00:00:00 2001 From: wisonic Date: Fri, 27 Dec 2024 18:46:38 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=9B=BE=E8=A1=A8):=20=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E6=8F=92=E4=BB=B6=E6=B8=B2=E6=9F=93=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/views/index.vue | 7 +++++++ 1 file changed, 7 insertions(+) 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 d8d39b3715..d37a946b57 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -801,6 +801,13 @@ onMounted(() => { initTitle() const viewInfo = val ? val : view.value nextTick(() => { + if (view.value?.plugin?.isPlugin) { + chartComponent?.value?.invokeMethod({ + methodName: 'renderChart', + args: [viewInfo] + }) + return + } chartComponent?.value?.renderChart?.(viewInfo) }) }