@kmkf-fe-packages/basic-components 2.0.79-beta.12 → 2.0.79-beta.14

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/dist/index.esm.js CHANGED
@@ -17375,6 +17375,11 @@ var GoodItem$1 = function GoodItem(props) {
17375
17375
  }
17376
17376
  return columnList;
17377
17377
  }, [showHeader, value, disabled, hoveredRowIndex]);
17378
+ var orderModalColumns = useMemo(function () {
17379
+ return newColumns.filter(function (col) {
17380
+ return col.title !== '操作';
17381
+ });
17382
+ }, [newColumns]);
17378
17383
  var orderColumns = useMemo(function () {
17379
17384
  var columns = COLUMNS_MAP('', {
17380
17385
  operate: false,
@@ -17437,7 +17442,7 @@ var GoodItem$1 = function GoodItem(props) {
17437
17442
  isGoods: isGoods,
17438
17443
  uniqueKey: uniqueKey,
17439
17444
  type: type,
17440
- columns: newColumns,
17445
+ columns: orderModalColumns,
17441
17446
  dataSource: tradeGoods.originDataSource,
17442
17447
  getDataSourceAsync: tradeGoods.getDataSourceAsync,
17443
17448
  selectedRowKeys: selectedGoods,
package/dist/index.js CHANGED
@@ -17387,6 +17387,11 @@ var GoodItem$1 = function GoodItem(props) {
17387
17387
  }
17388
17388
  return columnList;
17389
17389
  }, [showHeader, value, disabled, hoveredRowIndex]);
17390
+ var orderModalColumns = React.useMemo(function () {
17391
+ return newColumns.filter(function (col) {
17392
+ return col.title !== '操作';
17393
+ });
17394
+ }, [newColumns]);
17390
17395
  var orderColumns = React.useMemo(function () {
17391
17396
  var columns = COLUMNS_MAP('', {
17392
17397
  operate: false,
@@ -17449,7 +17454,7 @@ var GoodItem$1 = function GoodItem(props) {
17449
17454
  isGoods: isGoods,
17450
17455
  uniqueKey: uniqueKey,
17451
17456
  type: type,
17452
- columns: newColumns,
17457
+ columns: orderModalColumns,
17453
17458
  dataSource: tradeGoods.originDataSource,
17454
17459
  getDataSourceAsync: tradeGoods.getDataSourceAsync,
17455
17460
  selectedRowKeys: selectedGoods,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.0.79-beta.12",
3
+ "version": "2.0.79-beta.14",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "1e41fa302803987040cc63b2eb1a50403161736d"
68
+ "gitHead": "fa5fb237df21dd45c595f264471626f6ab21dae2"
69
69
  }