1、<el-table-column type="expand" width="1" >设置宽度等于1
2、修改样式:
<style lang="css" scoped>
:deep(.el-table__expand-column) {
visibility: hidden;
}
</style>
就完美解决隐藏展开下拉图标,注意:不能用display:none,会使表格混乱
1、<el-table-column type="expand" width="1" >设置宽度等于1
2、修改样式:
<style lang="css" scoped>
:deep(.el-table__expand-column) {
visibility: hidden;
}
</style>
就完美解决隐藏展开下拉图标,注意:不能用display:none,会使表格混乱