From c9a7b6fc71809393d5dd72c098f1fd76bfd2d23f Mon Sep 17 00:00:00 2001 From: fangsmile <892739385@qq.com> Date: Wed, 17 Dec 2025 17:07:07 +0800 Subject: [PATCH 1/2] refactor: when no axis compute col width logic --- packages/vtable/src/scenegraph/layout/compute-col-width.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/vtable/src/scenegraph/layout/compute-col-width.ts b/packages/vtable/src/scenegraph/layout/compute-col-width.ts index a98738b338..3640dc03af 100644 --- a/packages/vtable/src/scenegraph/layout/compute-col-width.ts +++ b/packages/vtable/src/scenegraph/layout/compute-col-width.ts @@ -295,7 +295,8 @@ function computeAutoColWidth( } else if ( layout.isLeftBottomCorner(col, row) || layout.isRightTopCorner(col, row) || - layout.isRightBottomCorner(col, row) + layout.isRightBottomCorner(col, row) || + layout.isAxisCell(col, row) ) { // 透视图三角为无效单元格,不参与宽度计算 continue; From 691b735687eb76d3074f568bdd0f2686d12ec2af Mon Sep 17 00:00:00 2001 From: fangsmile <892739385@qq.com> Date: Wed, 17 Dec 2025 17:07:42 +0800 Subject: [PATCH 2/2] docs: update changlog of rush --- ...elease_chartAxis_occor_error_2025-12-17-09-07.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 common/changes/@visactor/vtable/fix-release_chartAxis_occor_error_2025-12-17-09-07.json diff --git a/common/changes/@visactor/vtable/fix-release_chartAxis_occor_error_2025-12-17-09-07.json b/common/changes/@visactor/vtable/fix-release_chartAxis_occor_error_2025-12-17-09-07.json new file mode 100644 index 0000000000..9d5a1d6a9a --- /dev/null +++ b/common/changes/@visactor/vtable/fix-release_chartAxis_occor_error_2025-12-17-09-07.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "refactor: when no axis compute col width logic\n\n", + "type": "none", + "packageName": "@visactor/vtable" + } + ], + "packageName": "@visactor/vtable", + "email": "892739385@qq.com" +} \ No newline at end of file