uepay-mesh 4.0.3 → 4.0.4
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/mesh/excel/processor.js +5 -4
- package/package.json +2 -2
package/mesh/excel/processor.js
CHANGED
|
@@ -74,7 +74,7 @@ const modifyAbleHeaderRow = collect => {
|
|
|
74
74
|
explainHeaderRow = [],
|
|
75
75
|
displayHeaderRow = [],
|
|
76
76
|
colsOptions = [],
|
|
77
|
-
NONE = _serverEnums.ShowType
|
|
77
|
+
NONE = _serverEnums.ShowType.NONE.value,
|
|
78
78
|
fieldLabelDict = {},
|
|
79
79
|
formatDict = {},
|
|
80
80
|
rowsOptions = [{
|
|
@@ -82,14 +82,15 @@ const modifyAbleHeaderRow = collect => {
|
|
|
82
82
|
}, {
|
|
83
83
|
hidden: true
|
|
84
84
|
}];
|
|
85
|
+
let field;
|
|
85
86
|
|
|
86
|
-
for (
|
|
87
|
+
for (field of collect.fieldList) {
|
|
87
88
|
fieldLabelDict[field.label] = field;
|
|
88
89
|
formatDict[field.label] = obtainFormat(field.component);
|
|
89
90
|
}
|
|
90
91
|
|
|
91
|
-
for (
|
|
92
|
-
if (NONE !==
|
|
92
|
+
for (field of collect.fieldList) {
|
|
93
|
+
if (NONE !== field.show) {
|
|
93
94
|
colsOptions.push({
|
|
94
95
|
wch: 15
|
|
95
96
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uepay-mesh",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
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.
|
|
47
|
+
"uepay-mesh": "4.0.4",
|
|
48
48
|
"uepay-ops2": "4.0.3"
|
|
49
49
|
}
|
|
50
50
|
}
|