ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.1k stars 14.64k forks source link

[bug report] the length of El table header is too long, which affects the rendering of the list #21326

Open kangwang-vue opened 2 years ago

kangwang-vue commented 2 years ago

Element UI version

2.15.5

OS/Browsers version

windows 10

Vue version

2.6.10

Reproduction Link

https://github.com

Steps to reproduce

el-table 头部标题字符长度为6,列表渲染的高度第一次渲染的时候计算的高度不正确,待页面重新刷新时才正常

What is Expected?

列表渲染的高度 不受头部标题字符长度的影响

What is actually happening?

修改

element-bot commented 2 years ago

Translation of this issue:

Element UI version

2.15.5

OS/Browsers version

windows 10

Vue version

2.6.10

Reproduction Link

https://github.com

Steps to reproduce

The title character length of El table header is 6. The height of list rendering is calculated incorrectly at the first rendering, and it will not work until the page is refreshed again

What is Expected?

The height of the list rendering is not affected by the length of the header header character

What is actually happening?

modify

cs1707 commented 2 years ago

Reproduction link please.