Commit 7fb7d283 by zhaochengxiang

必填项

parent db243461
...@@ -574,7 +574,7 @@ const AssetAction = (props) => { ...@@ -574,7 +574,7 @@ const AssetAction = (props) => {
<Form.Item <Form.Item
label={<div className='title-color'>{element.name||''}</div>} label={<div className='title-color'>{element.name||''}</div>}
name={element.name} name={element.name}
rules={[{ required: element.required }]} rules={[{ required: element.required==='是' }]}
key={_index} key={_index}
style={{ marginBottom: (_index===sameAttributeElements.length-1)? 0 : 15 }} style={{ marginBottom: (_index===sameAttributeElements.length-1)? 0 : 15 }}
> >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment