Skip to content

Commit

Permalink
fix(pro:table): column sequence should change after fixed changed (#1901
Browse files Browse the repository at this point in the history
)
  • Loading branch information
sallerli1 committed Apr 24, 2024
1 parent 514b2dd commit daba3f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/pro/table/src/contents/LayoutToolContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ export default defineComponent({
},
)

setMergedColumns(newColumns)
const { startColumns, centerColumns, endColumns } = groupColumns(newColumns)

setMergedColumns([...startColumns, ...centerColumns, ...endColumns])
}

const handleVisibleChange = (showedKeySet: Set<VKey>, hiddenKeys: Set<VKey>) => {
Expand Down

0 comments on commit daba3f6

Please sign in to comment.