Skip to content

Commit 4a981ea

Browse files
committed
fix: list table create DimensionTree
1 parent 609790a commit 4a981ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/vtable/src/layout/simple-header-layout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export class SimpleHeaderLayoutMap implements LayoutMapAPI {
8686
this.columnTree = new DimensionTree(
8787
columns as any,
8888
{ seqId: 0 },
89-
this.columnHierarchyType,
89+
this.columnHierarchyType ?? null,
9090
this.columnHierarchyType === 'grid-tree' ? this.columnExpandLevel : undefined
9191
); //seqId这里没有利用上 所有顺便传了0
9292
this._headerObjectsIncludeHided = this._addHeaders(0, columns, []);

0 commit comments

Comments
 (0)