fix(components): fix the problem that chrome 72 table doesnotdisplaydata (#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 #8770,#9071,#7038

Co-authored-by: btea <2356281422@qq.com>
This commit is contained in:
ZheGuangLi 2023-08-12 10:00:45 +08:00 committed by GitHub
parent 9b75335c39
commit 7e81efd999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,