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.
- package/lib/element-ui.common.js +9 -8
- package/lib/index.js +1 -1
- package/lib/table.js +8 -7
- package/package.json +1 -1
- package/packages/table/src/store/watcher.js +7 -4
- package/src/index.js +1 -1
package/lib/element-ui.common.js
CHANGED
|
@@ -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
|
|
10973
|
-
|
|
10974
|
-
|
|
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.
|
|
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,
|