Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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"
}
3 changes: 2 additions & 1 deletion packages/vtable/src/scenegraph/layout/compute-col-width.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading