场景 ElementUI中的el-table中实现动态添加一行、删除一行、清空所有行: https://mp.csdn.net/console/editor/html/107815187 在上面中能实现动态添加一行并实现序号递增的效果。 这里记录下递增序号是怎样实现的。 注: 博客: https://blog.csdn.net/badao_liumang_...
<style lang="less"> .el-table{ overflow: auto; } .el-table .el-table__body-wrapper, .el-table .el-table__header-wrapper, .el-table .el-table__footer-wrapper{ overflow: v...
去边框: 给el-table绑定class=“customer-table” .customer-table th { border: none; } .customer-table td, .customer-table th.is-leaf { border: none; } .el-table--border, .el-table--gro...