bi-eleme 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10969,15 +10969,16 @@ var doFlattenColumns = function doFlattenColumns(columns) {
10969
10969
  var states = this.states;
10970
10970
  var _columns = states._columns || [];
10971
10971
 
10972
- if (states.browserType.platform === 'desktop') {
10973
- states.fixedColumns = _columns.filter(function (column) {
10974
- return column.fixed === true || column.fixed === 'left';
10972
+ if (states.browserType.platform !== 'desktop') {
10973
+ _columns.map(function (column, index) {
10974
+ if (index > 1 && (column.fixed === true || column.fixed === 'left')) {
10975
+ column.fixed = false;
10976
+ }
10975
10977
  });
10976
- } else {
10977
- states.fixedColumns = _columns.filter(function (column) {
10978
- return column.fixed === true || column.fixed === 'left';
10979
- }).splice(0, 2);
10980
10978
  }
10979
+ states.fixedColumns = _columns.filter(function (column) {
10980
+ return column.fixed === true || column.fixed === 'left';
10981
+ });
10981
10982
  states.rightFixedColumns = _columns.filter(function (column) {
10982
10983
  return column.fixed === 'right';
10983
10984
  });
@@ -43837,7 +43838,7 @@ if (typeof window !== 'undefined' && window.Vue) {
43837
43838
  }
43838
43839
 
43839
43840
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
43840
- version: '1.0.3',
43841
+ version: '1.0.4',
43841
43842
  locale: lib_locale_default.a.use,
43842
43843
  i18n: lib_locale_default.a.i18n,
43843
43844
  install: src_install,