diff --git a/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js b/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js index a6a78c6f..d468be88 100644 --- a/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js +++ b/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js @@ -44,11 +44,13 @@ '', '', ''].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'); + } } };