Skip to content

Commit fe8a765

Browse files
committed
优化移动端切换卡片视图兼容性
1 parent f3aa8b2 commit fe8a765

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed

dist/extensions/fixed-columns/bootstrap-table-fixed-columns.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,6 @@
115115
return that.options.fixedColumns && !that.options.detailView && !that.options.cardView;
116116
};
117117
BootstrapTable.prototype.initFixedContainer = function () {
118-
if (!this.fixedColumnsSupported()) {
119-
return;
120-
}
121-
122118
if (this.options.fixedNumber) {
123119
this.$tableContainer.find('.fixed-columns').length == 0 && this.$tableContainer.append('<div class="fixed-columns"></div>');
124120
this.$fixedColumns = this.$tableContainer.find('.fixed-columns');

dist/extensions/fixed-columns/bootstrap-table-fixed-columns.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "fastadmin-bootstraptable",
33
"description": "An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features. (supports twitter bootstrap v2 and v3).",
4-
"version": "1.11.10",
4+
"version": "1.11.11",
55
"main": "./dist/bootstrap-table.js",
66
"devDependencies": {
77
"cz-conventional-changelog": "^1.1.5",

src/extensions/fixed-columns/bootstrap-table-fixed-columns.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,6 @@
115115
return that.options.fixedColumns && !that.options.detailView && !that.options.cardView;
116116
};
117117
BootstrapTable.prototype.initFixedContainer = function () {
118-
if (!this.fixedColumnsSupported()) {
119-
return;
120-
}
121-
122118
if (this.options.fixedNumber) {
123119
this.$tableContainer.find('.fixed-columns').length == 0 && this.$tableContainer.append('<div class="fixed-columns"></div>');
124120
this.$fixedColumns = this.$tableContainer.find('.fixed-columns');

0 commit comments

Comments
 (0)