@cqsjjb/jjb-react-admin-component 3.0.21 → 3.0.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.
|
@@ -35,7 +35,7 @@ export default function FormilyDescriptions(props) {
|
|
|
35
35
|
title: props.title,
|
|
36
36
|
extra: props.extra,
|
|
37
37
|
layout: props.layout || 'vertical',
|
|
38
|
-
column:
|
|
38
|
+
column: props.column,
|
|
39
39
|
labelStyle: props.labelStyle,
|
|
40
40
|
contentStyle: props.contentStyle
|
|
41
41
|
});
|
|
@@ -95,8 +95,10 @@ function ItemRender(props) {
|
|
|
95
95
|
return tools.textPlaceholder(next.name);
|
|
96
96
|
}
|
|
97
97
|
})) : tools.textPlaceholder() : /*#__PURE__*/React.createElement(RenderText, {
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
name: data.name,
|
|
99
|
+
value: data.value,
|
|
100
|
+
renderItemText: props.renderItemText
|
|
101
|
+
}), /*#__PURE__*/React.createElement(Modal, {
|
|
100
102
|
destroyOnClose: true,
|
|
101
103
|
title: "\u67E5\u770BPDF",
|
|
102
104
|
open: open,
|
|
@@ -164,5 +166,8 @@ function RenderText(props) {
|
|
|
164
166
|
},
|
|
165
167
|
index: index,
|
|
166
168
|
bordered: false
|
|
167
|
-
}, item)))) :
|
|
169
|
+
}, item)))) : props.renderItemText ? props.renderItemText({
|
|
170
|
+
text,
|
|
171
|
+
name: props.name
|
|
172
|
+
}) : text;
|
|
168
173
|
}
|