Skip to content

Commit

Permalink
fix(components): fix the problem that chrome 72 table doesnotdisplayd…
Browse files Browse the repository at this point in the history
…ata (element-plus#10640)

Fix the problem that the chrome 72 tab table does not display data. This is caused by the fact that
the extension operator becomes an empty object in a special scenario

BREAKING CHANGE :
The writing method of shallow copy is replaced

closed element-plus#8770,element-plus#9071,element-plus#7038

Co-authored-by: btea <2356281422@qq.com>
  • Loading branch information
2 people authored and dannyhebertbell committed Nov 10, 2023
1 parent 7666ea8 commit 1d21a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/table/src/table-body/render-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function useRender<T>(props: Partial<TableBodyProps<T>>) {
if (!rowspan || !colspan) {
return null
}
const columnData = { ...column }
const columnData = Object.assign({}, column)
columnData.realWidth = getColspanRealWidth(
columns.value,
colspan,
Expand Down

0 comments on commit 1d21a3c

Please sign in to comment.