From dd0d9b2dc5d2d0755d42d6e0ba98726341dbfb43 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Mon, 7 Apr 2025 10:27:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=B8=8D=E6=94=AF=E6=8C=81=E6=8F=90=E7=A4=BA=E8=BD=AE=E6=92=AD?= =?UTF-8?q?=E7=9A=84=E5=9B=BE=E8=A1=A8=E5=9C=A8=E6=94=B9=E5=8F=98=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E5=A4=A7=E5=B0=8F=E6=97=B6=E5=8F=91=E7=94=9F=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/g2plot_tooltip_carousel.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/core/core-frontend/src/views/chart/components/js/g2plot_tooltip_carousel.ts b/core/core-frontend/src/views/chart/components/js/g2plot_tooltip_carousel.ts index f48b198116..d05791f03c 100644 --- a/core/core-frontend/src/views/chart/components/js/g2plot_tooltip_carousel.ts +++ b/core/core-frontend/src/views/chart/components/js/g2plot_tooltip_carousel.ts @@ -60,6 +60,7 @@ class ChartCarouselTooltip { * 创建或更新实例 * */ static manage(plot: Plot | DualAxes, chart: Chart, config: CarouselConfig) { + if (!isSupport(chart.type)) return null const container = chart.container let instance = CAROUSEL_MANAGER_INSTANCES.get(container)