uepay-mesh 4.0.4 → 4.0.5

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.
@@ -121,7 +121,7 @@ const addAbleHeaderRow = collect => {
121
121
  explainHeaderRow = [],
122
122
  displayHeaderRow = [],
123
123
  colsOptions = [],
124
- NONE = _serverEnums.ShowType[0].value,
124
+ NONE = _serverEnums.ShowType.NONE.value,
125
125
  pkNameDict = {},
126
126
  fieldNameDict = {},
127
127
  fieldLabelDict = {},
@@ -141,7 +141,7 @@ const addAbleHeaderRow = collect => {
141
141
  }
142
142
 
143
143
  for (let field of collect.fieldList) {
144
- if (_authOptions.OptValidateUtil.isInsert(field.edit) && !pkNameDict[field.name] && NONE !== collect.show && checkAliasForAdd(fieldNameDict, field)) {
144
+ if (_authOptions.OptValidateUtil.isInsert(field.edit) && !pkNameDict[field.name] && NONE !== field.show && checkAliasForAdd(fieldNameDict, field)) {
145
145
  colsOptions.push({
146
146
  wch: 15
147
147
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uepay-mesh",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
4
4
  "description": "数据中心数据集设计工具前端",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",
@@ -44,7 +44,7 @@
44
44
  "node-sass": "^4.13.0",
45
45
  "react": "^16.12.0",
46
46
  "react-dom": "^16.12.0",
47
- "uepay-mesh": "4.0.4",
47
+ "uepay-mesh": "4.0.5",
48
48
  "uepay-ops2": "4.0.3"
49
49
  }
50
50
  }