mirror of https://gitee.com/y_project/RuoYi.git
左右冻结列同时启用显示问题
parent
7329cbdceb
commit
0145494497
|
@ -44,11 +44,13 @@
|
||||||
'<tbody style="background-color: #fff;"></tbody>',
|
'<tbody style="background-color: #fff;"></tbody>',
|
||||||
'</table>',
|
'</table>',
|
||||||
'</div>'].join(''));
|
'</div>'].join(''));
|
||||||
|
|
||||||
this.$rightfixedBody.find('table').attr('class', this.$el.attr('class'));
|
this.$rightfixedBody.find('table').attr('class', this.$el.attr('class'));
|
||||||
this.$rightfixedHeaderColumns = this.$rightfixedBody.find('thead');
|
this.$rightfixedHeaderColumns = this.$rightfixedBody.find('thead');
|
||||||
this.$rightfixedBodyColumns = this.$rightfixedBody.find('tbody');
|
this.$rightfixedBodyColumns = this.$rightfixedBody.find('tbody');
|
||||||
this.$tableBody.before(this.$rightfixedBody);
|
this.$tableBody.before(this.$rightfixedBody);
|
||||||
|
if (this.options.fixedColumns) {
|
||||||
|
$('.right-fixed-table-columns').attr('style','right:0px');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue