zy-react-library 1.0.123 → 1.0.125
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.
|
@@ -172,10 +172,10 @@ const FormItemsRenderer = ({
|
|
|
172
172
|
|
|
173
173
|
switch (render) {
|
|
174
174
|
case FORM_ITEM_RENDER_ENUM.INPUT:
|
|
175
|
-
return <Input placeholder={placeholder}
|
|
175
|
+
return <Input placeholder={placeholder} maxLength={50} {...componentProps} />;
|
|
176
176
|
|
|
177
177
|
case FORM_ITEM_RENDER_ENUM.TEXTAREA:
|
|
178
|
-
return <TextArea placeholder={placeholder}
|
|
178
|
+
return <TextArea placeholder={placeholder} maxLength={500} showCount={true} rows={3} {...componentProps} />;
|
|
179
179
|
|
|
180
180
|
case FORM_ITEM_RENDER_ENUM.INPUT_NUMBER:
|
|
181
181
|
case FORM_ITEM_RENDER_ENUM.NUMBER:
|
|
@@ -356,9 +356,9 @@ function HiddenInfo(props) {
|
|
|
356
356
|
)
|
|
357
357
|
}
|
|
358
358
|
{
|
|
359
|
-
info.
|
|
359
|
+
(info.hiddenAcceptUserCO && Object.keys(info.hiddenAcceptUserCO).length > 0)
|
|
360
360
|
? (
|
|
361
|
-
|
|
361
|
+
info.isQualified === 1
|
|
362
362
|
? (
|
|
363
363
|
<>
|
|
364
364
|
<Divider orientation="left">验收信息</Divider>
|