From cd9083841eb5f657ce8ce9b9b39b8c0f53344f6a Mon Sep 17 00:00:00 2001 From: wisonic-s <51065359+wisonic-s@users.noreply.github.com> Date: Wed, 12 Mar 2025 20:22:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E8=A1=A8=E5=A4=B4=E6=8E=92=E5=BA=8F=E5=A4=B1=E6=95=88?= =?UTF-8?q?=20(#15331)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/panel/types/impl/s2.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = () => {