1、去掉悬停效果
添加样式
/* 去掉鼠标悬浮效果 */ .el-table tbody tr:hover > td { background-color: transparent !important }
2、隐藏表头
el-table 添加属性 :show-header
:show-header="false"
1、去掉悬停效果
添加样式
/* 去掉鼠标悬浮效果 */ .el-table tbody tr:hover > td { background-color: transparent !important }
2、隐藏表头
el-table 添加属性 :show-header
:show-header="false"