問題:
bootstrap-table.js 找到 BootstrapTable.prototype.resetView
if (this.options.showHeader && this.options.height) { this.$tableHeader.show(); //注釋掉下面兩行 取消表頭初始化解決表頭和內容不對齊問題 //this.resetHeader(); //padding += this.$header.outerHeight(); }
即可解決問題!
問題:
bootstrap-table.js 找到 BootstrapTable.prototype.resetView
if (this.options.showHeader && this.options.height) { this.$tableHeader.show(); //注釋掉下面兩行 取消表頭初始化解決表頭和內容不對齊問題 //this.resetHeader(); //padding += this.$header.outerHeight(); }
即可解決問題!
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。