一, 表格移上去会有白色背景, 如下图:
解决方法:
- <style lang="sCSS" scoped>
- /deep/.el-table--enable-row-hover .el-table__body tr:hover>td{
- background: none !important;
- }
- </style>
注意: 不能放在 /deep/.el-table{ } 里面, 经测试不行, 而放在上面的位置可以, 记录一下.
来源: http://www.bubuko.com/infodetail-3518678.html