Skip to content

Commit c9a7b6f

Browse files
committed
refactor: when no axis compute col width logic
1 parent 259b952 commit c9a7b6f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/vtable/src/scenegraph/layout/compute-col-width.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@ function computeAutoColWidth(
295295
} else if (
296296
layout.isLeftBottomCorner(col, row) ||
297297
layout.isRightTopCorner(col, row) ||
298-
layout.isRightBottomCorner(col, row)
298+
layout.isRightBottomCorner(col, row) ||
299+
layout.isAxisCell(col, row)
299300
) {
300301
// 透视图三角为无效单元格,不参与宽度计算
301302
continue;

0 commit comments

Comments
 (0)