需要设置el-table背景透明
因为优先级问题?在组件样式里设置不生效
解决方案:在全局css设置样式
::v-deep .el-table th,
::v-deep .el-table tr .el-table_row,
::v-deep .el-table td {
background-color: transparent !important;
}
因为优先级问题?在组件样式里设置不生效
解决方案:在全局css设置样式
::v-deep .el-table th,
::v-deep .el-table tr .el-table_row,
::v-deep .el-table td {
background-color: transparent !important;
}