body .el-table th.gutter{
display: table-cell!important;
}
body .el-table colgroup.gutter{
display: table-cell!important;
}
重点:
把这些样式添加到到index.html中、或者app.vue中(必须是入口文件,才能全局起作用!)
例如我的项目是next框架搭建的项目,所以直接放在全局的样式文件中
body .el-table th.gutter{
display: table-cell!important;
}
body .el-table colgroup.gutter{
display: table-cell!important;
}
重点:
把这些样式添加到到index.html中、或者app.vue中(必须是入口文件,才能全局起作用!)
例如我的项目是next框架搭建的项目,所以直接放在全局的样式文件中