@lx-frontend/wrap-element-ui 1.0.25 → 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.25",
3
+ "version": "1.0.26-beta.2",
4
4
  "description": "wrap-element-ui",
5
5
  "author": "",
6
6
  "main": "src/components/index.ts",
@@ -440,6 +440,7 @@ const props = withDefaults(defineProps<IProps>(), {
440
440
  currentPage: 1,
441
441
  pageSizes: () => [10, 15, 30, 60, 100],
442
442
  pagerCount: 11,
443
+ customFixed: false,
443
444
  });
444
445
 
445
446
  // 同defineProps一样,不支持泛型参数从外部导入
@@ -466,13 +467,13 @@ const actualColumns = computed(() => {
466
467
  sortable: inSorting.value ? !!rawItem.sortable : false,
467
468
  _sortable: rawItem.sortable,
468
469
  };
470
+
469
471
  if (cnt > 0) {
470
472
  item.fixed = 'left';
471
473
  // eslint-disable-next-line no-plusplus
472
474
  cnt--;
473
- } else {
474
- item.fixed = undefined;
475
475
  }
476
+
476
477
  res.push(item);
477
478
  }
478
479