diff --git a/core/core-frontend/src/views/chart/components/js/panel/types/impl/s2.ts b/core/core-frontend/src/views/chart/components/js/panel/types/impl/s2.ts index 428cb39093..b7da8c2279 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/types/impl/s2.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/types/impl/s2.ts @@ -144,7 +144,7 @@ export abstract class S2ChartView

extends AntVAbstractCha ] const shape = s2Instance.container.getShape(relativePosition[0], relativePosition[1]) // 图片单元格,表头排序图标点击放大图片 - if (['GuiIcon2', 'ImageCell'].includes(shape.cfg?.parent.constructor.name)) { + if (shape.cfg?.type === 'image') { return } const callback = () => {