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)