系统用到了 element 的 table 组件,发现一个问题,假设表格有5列,有4列都比较窄,有一个“描述”内容比较长,于是我对该列设置 show-overflow-tooltip 属性,发现其他的4列都占用了很宽的位置,而该列却没有自动撑开,而是显示 tooltip 效果,该怎么实现这种自动撑开的效果呢?
show-overflow-tooltip
你加了show-overflow-tooltip属性当然就会超出隐藏了 想让他高度自动撑开肯定不能加这个属性 而且对于宽度来讲可以加width 或者min-width 都不加默认就是均分的
2.1m questions
2.1m answers
60 comments
56.8k users