Bug Type: Component
Environment
- Vue Version:
3.3.4
- Element Plus Version:
2.3.7
- Browser / OS:
Chrome 114.0.5735.198 / macOS 14.0.0
- Build Tool:
Vite
Reproduction
Related Component
el-table-column
Reproduction Link
Element Plus Playground
Steps to reproduce
当来回切换tab时,会发现表格把宽度撑的越来越大
What is Expected?
不会破坏flex布局
What is actually happening?
破坏flex布局的宽度
Additional comments
(empty)
3条答案
按热度按时间tyky79it1#
或许你可以试试这种写法
Element Plus Playground
nfs0ujit2#
这样写也行
Element Plus Playground
ddrv8njm3#
给flex:1加上overflow: auto即可