@guo514360255/antd-lib 1.4.4 → 1.4.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.
|
@@ -174,7 +174,7 @@ var CustomModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
174
174
|
}, /*#__PURE__*/React.createElement(Descriptions.Item, _extends({
|
|
175
175
|
key: item.dataIndex,
|
|
176
176
|
label: "".concat(item.title)
|
|
177
|
-
}, ((_item$fieldProps = item.fieldProps) === null || _item$fieldProps === void 0 ? void 0 : _item$fieldProps.descriptionsItemProps) || {}), handleDetailValue(item, detail[item.dataIndex], index)));
|
|
177
|
+
}, ((_item$fieldProps = item.fieldProps) === null || _item$fieldProps === void 0 ? void 0 : _item$fieldProps.descriptionsItemProps) || {}), handleDetailValue(item, detail[item.dataIndex], index) || '-'));
|
|
178
178
|
}))), /*#__PURE__*/React.createElement(Spin, {
|
|
179
179
|
spinning: loading,
|
|
180
180
|
fullscreen: true
|
|
@@ -226,7 +226,10 @@ var CustomFormModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
226
226
|
var getPlaceholder = function getPlaceholder(type, title) {
|
|
227
227
|
return "\u8BF7".concat(placeholder[type || 'input'] || placeholder.default).concat(title ? title : '');
|
|
228
228
|
};
|
|
229
|
-
return /*#__PURE__*/React.createElement(
|
|
229
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
230
|
+
className: "custom-modal-container"
|
|
231
|
+
}, messageHolder, /*#__PURE__*/React.createElement(Spin, {
|
|
232
|
+
className: "spin-contianer",
|
|
230
233
|
fullscreen: true,
|
|
231
234
|
spinning: detailLoading
|
|
232
235
|
}), /*#__PURE__*/React.createElement(Component, _extends({
|