ElemeFE / ElemeFE/element

[Bug Report] Undefined as class-name in expand column type

Open
#21,517 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.0

### OS/Browsers version
MacOS / Chrome latest version

### Vue version
2.6.12

### Reproduction Link
https://codepen.io/pen/?&prefill_data_id=b8883d16-9d2d-441d-9e6e-055a46169d28

### Steps to reproduce
Open devtolls. Navigate to expandable column cell.

### What is Expected?
No undefined class in column classes

### What is actually happening?
classes: el-table_{number}_column_{number} undefined el-table__expand-column el-table__cell.
This behavior caused by https://github.com/ElemeFE/element/blob/55bac06f0f9e26b820518243f3987cab9699001b/packages/table/src/table-body.js#L210 where is column.className is undefined

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.