@guo514360255/antd-lib 1.4.21 → 1.4.22
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.
|
@@ -113,7 +113,7 @@ var CustomFormModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
113
113
|
});
|
|
114
114
|
newData = handleModalData ? handleModalData(data || {}) : data || {};
|
|
115
115
|
setFieldValues(newData);
|
|
116
|
-
(_formRef$current = formRef.current) === null || _formRef$current === void 0 || _formRef$current.setFieldsValue(
|
|
116
|
+
(_formRef$current = formRef.current) === null || _formRef$current === void 0 || _formRef$current.setFieldsValue(newData || {});
|
|
117
117
|
return _context.abrupt("return");
|
|
118
118
|
case 14:
|
|
119
119
|
_context.prev = 14;
|
|
@@ -128,7 +128,7 @@ var CustomFormModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
128
128
|
var _formRef$current2;
|
|
129
129
|
var newData = handleModalData ? handleModalData(values || {}) : values || {};
|
|
130
130
|
setFieldValues(newData);
|
|
131
|
-
(_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 || _formRef$current2.setFieldsValue(
|
|
131
|
+
(_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 || _formRef$current2.setFieldsValue(newData || {});
|
|
132
132
|
}, 0);
|
|
133
133
|
case 21:
|
|
134
134
|
case "end":
|