wargerm 0.7.51 → 0.7.52

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
@@ -7849,7 +7849,7 @@ var TabelCard = function TabelCard(props, ref) {
7849
7849
  return request;
7850
7850
  }()
7851
7851
  } : {}), {}, {
7852
- columns: [showIndex ? {
7852
+ columns: [].concat(_toConsumableArray(showIndex ? [{
7853
7853
  title: '序号',
7854
7854
  align: 'center',
7855
7855
  hideInSearch: true,
@@ -7858,7 +7858,7 @@ var TabelCard = function TabelCard(props, ref) {
7858
7858
  render: function render(text, record, index) {
7859
7859
  return index + 1;
7860
7860
  }
7861
- } : {}].concat(_toConsumableArray(tableAction && (tableAction === null || tableAction === void 0 ? void 0 : tableAction.length) > 0 ? [].concat(_toConsumableArray((columns || []).reduce(function (pre, column) {
7861
+ }] : []), _toConsumableArray(tableAction && (tableAction === null || tableAction === void 0 ? void 0 : tableAction.length) > 0 ? [].concat(_toConsumableArray((columns || []).reduce(function (pre, column) {
7862
7862
  if (column.type == 'group') {
7863
7863
  return [].concat(_toConsumableArray(pre), _toConsumableArray(column.children));
7864
7864
  } else {
package/dist/index.js CHANGED
@@ -7893,7 +7893,7 @@ var TabelCard = function TabelCard(props, ref) {
7893
7893
  return request;
7894
7894
  }()
7895
7895
  } : {}), {}, {
7896
- columns: [showIndex ? {
7896
+ columns: [].concat(_toConsumableArray(showIndex ? [{
7897
7897
  title: '序号',
7898
7898
  align: 'center',
7899
7899
  hideInSearch: true,
@@ -7902,7 +7902,7 @@ var TabelCard = function TabelCard(props, ref) {
7902
7902
  render: function render(text, record, index) {
7903
7903
  return index + 1;
7904
7904
  }
7905
- } : {}].concat(_toConsumableArray(tableAction && (tableAction === null || tableAction === void 0 ? void 0 : tableAction.length) > 0 ? [].concat(_toConsumableArray((columns || []).reduce(function (pre, column) {
7905
+ }] : []), _toConsumableArray(tableAction && (tableAction === null || tableAction === void 0 ? void 0 : tableAction.length) > 0 ? [].concat(_toConsumableArray((columns || []).reduce(function (pre, column) {
7906
7906
  if (column.type == 'group') {
7907
7907
  return [].concat(_toConsumableArray(pre), _toConsumableArray(column.children));
7908
7908
  } else {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.7.51",
4
+ "version": "0.7.52",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",