@bit-sun/business-component 1.0.12 → 1.0.13
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
|
@@ -76,14 +76,14 @@ function _inherits(subClass, superClass) {
|
|
|
76
76
|
throw new TypeError("Super expression must either be null or a function");
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
80
|
+
constructor: {
|
|
81
|
+
value: subClass,
|
|
82
|
+
writable: true,
|
|
83
|
+
configurable: true
|
|
84
|
+
}
|
|
85
|
+
});
|
|
79
86
|
Object.defineProperty(subClass, "prototype", {
|
|
80
|
-
value: Object.create(superClass && superClass.prototype, {
|
|
81
|
-
constructor: {
|
|
82
|
-
value: subClass,
|
|
83
|
-
writable: true,
|
|
84
|
-
configurable: true
|
|
85
|
-
}
|
|
86
|
-
}),
|
|
87
87
|
writable: false
|
|
88
88
|
});
|
|
89
89
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
@@ -2051,7 +2051,8 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
|
|
|
2051
2051
|
return {
|
|
2052
2052
|
id: "item-0".concat(index),
|
|
2053
2053
|
content: mapping.get(item),
|
|
2054
|
-
code: item
|
|
2054
|
+
code: item,
|
|
2055
|
+
type: "string"
|
|
2055
2056
|
};
|
|
2056
2057
|
});
|
|
2057
2058
|
_this.state = {
|
package/dist/index.js
CHANGED
|
@@ -86,14 +86,14 @@ function _inherits(subClass, superClass) {
|
|
|
86
86
|
throw new TypeError("Super expression must either be null or a function");
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
90
|
+
constructor: {
|
|
91
|
+
value: subClass,
|
|
92
|
+
writable: true,
|
|
93
|
+
configurable: true
|
|
94
|
+
}
|
|
95
|
+
});
|
|
89
96
|
Object.defineProperty(subClass, "prototype", {
|
|
90
|
-
value: Object.create(superClass && superClass.prototype, {
|
|
91
|
-
constructor: {
|
|
92
|
-
value: subClass,
|
|
93
|
-
writable: true,
|
|
94
|
-
configurable: true
|
|
95
|
-
}
|
|
96
|
-
}),
|
|
97
97
|
writable: false
|
|
98
98
|
});
|
|
99
99
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
@@ -2061,7 +2061,8 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
|
|
|
2061
2061
|
return {
|
|
2062
2062
|
id: "item-0".concat(index),
|
|
2063
2063
|
content: mapping.get(item),
|
|
2064
|
-
code: item
|
|
2064
|
+
code: item,
|
|
2065
|
+
type: "string"
|
|
2065
2066
|
};
|
|
2066
2067
|
});
|
|
2067
2068
|
_this.state = {
|
package/package.json
CHANGED
|
@@ -106,6 +106,7 @@ class DataValidation extends React.Component {
|
|
|
106
106
|
id: `item-0${index}`,
|
|
107
107
|
content: mapping.get(item),
|
|
108
108
|
code: item,
|
|
109
|
+
type: "string"
|
|
109
110
|
};
|
|
110
111
|
});
|
|
111
112
|
|
|
@@ -418,7 +419,7 @@ class DataValidation extends React.Component {
|
|
|
418
419
|
console.log(setExportData);
|
|
419
420
|
setExportData([123123]);
|
|
420
421
|
})
|
|
421
|
-
.catch((err) => {});
|
|
422
|
+
.catch((err) => { });
|
|
422
423
|
};
|
|
423
424
|
|
|
424
425
|
filterData = (type: string) => {
|