bootstrap-table 表头数据展示错位问题

打开bootstrap-table.js 找到 BootstrapTable.prototype.resetView方法,找到如下代码

if (this.options.showHeader && this.options.height) {
            this.$tableHeader.show();
            //注释掉下面两行 取消表头初始化解决表头和内容不对齐问题
            //this.resetHeader();
            //padding += this.$header.outerHeight();
}

猜你喜欢

转载自blog.csdn.net/lwang_IT/article/details/82289706