mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [el-table] fixed column position error issue (#5430)
This commit is contained in:
@@ -454,7 +454,9 @@ export const getFixedColumnsClass = <T>(
|
||||
function getOffset<T>(offset: number, column: TableColumnCtx<T>) {
|
||||
return (
|
||||
offset +
|
||||
(Number.isNaN(column.realWidth) ? Number(column.width) : column.realWidth)
|
||||
(column.realWidth === null || Number.isNaN(column.realWidth)
|
||||
? Number(column.width)
|
||||
: column.realWidth)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user