@lx-frontend/wrap-element-ui 1.0.26-beta.1 → 1.0.26-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lx-frontend/wrap-element-ui",
3
- "version": "1.0.26-beta.1",
3
+ "version": "1.0.26-beta.2",
4
4
  "description": "wrap-element-ui",
5
5
  "author": "",
6
6
  "main": "src/components/index.ts",
@@ -384,8 +384,6 @@ interface IProps {
384
384
  pagerCount?: number;
385
385
  /** 设置的迁移配置 */
386
386
  settingStorgeMigrationConfigs?: SettingStorgeMigrationConfigs
387
- /** 自定义固定列,开启后 columnConfig 中的 fixed 属性优先级会大于 leftFixedCount */
388
- customFixed?: boolean
389
387
  }
390
388
 
391
389
  interface IEmits {
@@ -470,15 +468,10 @@ const actualColumns = computed(() => {
470
468
  _sortable: rawItem.sortable,
471
469
  };
472
470
 
473
- // 如果设置了 customFixed 属性,则不使用 leftFixedCount 来控制固定列,而是完全依赖 columnConfig 中的 fixed 属性
474
- if (!props.customFixed) {
475
- if (cnt > 0) {
476
- item.fixed = 'left';
477
- // eslint-disable-next-line no-plusplus
478
- cnt--;
479
- } else {
480
- item.fixed = undefined;
481
- }
471
+ if (cnt > 0) {
472
+ item.fixed = 'left';
473
+ // eslint-disable-next-line no-plusplus
474
+ cnt--;
482
475
  }
483
476
 
484
477
  res.push(item);