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} max={50} {...componentProps} />;
175
+ return <Input placeholder={placeholder} maxLength={50} {...componentProps} />;
176
176
 
177
177
  case FORM_ITEM_RENDER_ENUM.TEXTAREA:
178
- return <TextArea placeholder={placeholder} max={500} showCount={true} rows={3} {...componentProps} />;
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.isQualified === 1
359
+ (info.hiddenAcceptUserCO && Object.keys(info.hiddenAcceptUserCO).length > 0)
360
360
  ? (
361
- (info.hiddenAcceptUserCO && Object.keys(info.hiddenAcceptUserCO).length > 0)
361
+ info.isQualified === 1
362
362
  ? (
363
363
  <>
364
364
  <Divider orientation="left">验收信息</Divider>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zy-react-library",
3
3
  "private": false,
4
- "version": "1.0.123",
4
+ "version": "1.0.125",
5
5
  "type": "module",
6
6
  "description": "",
7
7
  "author": "LiuJiaNan",