Loading... elementui表格里面每一项的内容如果过多可能就会导致换行,所以在el-table-column标签上加上一个show-overflow-tooltip属性就可以溢出隐藏加上触碰之后会显示全部内容很好的解决了美观问题 关于里面的样式修改通过以下css代码修改 .el-tooltip__popper, .el-tooltip__popper.is-dark { // background: #384763 !important; // color: #fff !important; } ![截屏2019-11-06上午9.00.20.png][1] [1]: https://www.wumao.org/usr/uploads/2019/11/4175103444.png Last modification:November 6th, 2019 at 09:02 am © 允许规范转载 Support If you think my article is useful to you, please feel free to appreciate ×Close Appreciate the author Sweeping payments Pay by AliPay Pay by WeChat