Skip to content

Commit

Permalink
fix(Table): 修复 columns 配置项为 null 时渲染异常的问题 (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean-gao committed Jun 12, 2024
1 parent c2c057a commit c87f999
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/table/useTableColumn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ let seed = 0;
const instColumns = (cols: ColumnChildren = [], parent?: ColumnInst) => {
let instList: ColumnInst[] = [];
cols.forEach((props) => {
if (!props) {
return;
}
const inst: ColumnInst = {
id: ++seed,
props: {
Expand Down

0 comments on commit c87f999

Please sign in to comment.