@nokecy/qc-ui 0.1.45 → 0.1.46
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.
|
@@ -112,15 +112,15 @@ var useArrayTableColumns = function useArrayTableColumns(field, sources) {
|
|
|
112
112
|
var index = field === null || field === void 0 ? void 0 : (_field$value = field.value) === null || _field$value === void 0 ? void 0 : _field$value.indexOf(record);
|
|
113
113
|
|
|
114
114
|
var children = /*#__PURE__*/_react.default.createElement(_antdV.ArrayBase.Item, {
|
|
115
|
-
index:
|
|
115
|
+
index: index,
|
|
116
116
|
record: function record() {
|
|
117
117
|
var _field$value2;
|
|
118
118
|
|
|
119
|
-
return field === null || field === void 0 ? void 0 : (_field$value2 = field.value) === null || _field$value2 === void 0 ? void 0 : _field$value2[
|
|
119
|
+
return field === null || field === void 0 ? void 0 : (_field$value2 = field.value) === null || _field$value2 === void 0 ? void 0 : _field$value2[index];
|
|
120
120
|
}
|
|
121
121
|
}, /*#__PURE__*/_react.default.createElement(_react2.RecursionField, {
|
|
122
122
|
schema: schema,
|
|
123
|
-
name:
|
|
123
|
+
name: index,
|
|
124
124
|
onlyRenderProperties: true
|
|
125
125
|
}));
|
|
126
126
|
|
|
@@ -95,15 +95,15 @@ var useArrayTableColumns = function useArrayTableColumns(field, sources) {
|
|
|
95
95
|
record = _ref2.data;
|
|
96
96
|
var index = field === null || field === void 0 ? void 0 : (_field$value = field.value) === null || _field$value === void 0 ? void 0 : _field$value.indexOf(record);
|
|
97
97
|
var children = /*#__PURE__*/React.createElement(ArrayBase.Item, {
|
|
98
|
-
index:
|
|
98
|
+
index: index,
|
|
99
99
|
record: function record() {
|
|
100
100
|
var _field$value2;
|
|
101
101
|
|
|
102
|
-
return field === null || field === void 0 ? void 0 : (_field$value2 = field.value) === null || _field$value2 === void 0 ? void 0 : _field$value2[
|
|
102
|
+
return field === null || field === void 0 ? void 0 : (_field$value2 = field.value) === null || _field$value2 === void 0 ? void 0 : _field$value2[index];
|
|
103
103
|
}
|
|
104
104
|
}, /*#__PURE__*/React.createElement(RecursionField, {
|
|
105
105
|
schema: schema,
|
|
106
|
-
name:
|
|
106
|
+
name: index,
|
|
107
107
|
onlyRenderProperties: true
|
|
108
108
|
}));
|
|
109
109
|
return children;
|