左右冻结列同时启用显示问题

pull/305/head^2
RuoYi 2019-04-28 13:31:03 +08:00
parent 7329cbdceb
commit 0145494497
1 changed files with 3 additions and 1 deletions

View File

@ -44,11 +44,13 @@
'<tbody style="background-color: #fff;"></tbody>',
'</table>',
'</div>'].join(''));
this.$rightfixedBody.find('table').attr('class', this.$el.attr('class'));
this.$rightfixedHeaderColumns = this.$rightfixedBody.find('thead');
this.$rightfixedBodyColumns = this.$rightfixedBody.find('tbody');
this.$tableBody.before(this.$rightfixedBody);
if (this.options.fixedColumns) {
$('.right-fixed-table-columns').attr('style','right:0px');
}
}
};