el-table之show-overflow-tooltip 属性不生效 社会主义接班人呀 2020-03-09 5,382 阅读1分钟 在使用el-table表格时有时会用到show-overflow-tooltip属性,既当单元格内容不能完全显示时显示tooltip文字提示,并且单元格里的内容显示省略号。但是在ie浏览器中有时单元格里的内容过长并且显示了省略号,但是鼠标滑上确不显示tooltip,这是因为单元格的padding-right影响到的,在css样式中添加以下代码即可: .el-table .cell, .el-table th div { padding-right: 0; }