Commit f13cc03d by zhaochengxiang

下线理由改为非必填

parent 38dd0094
...@@ -33,7 +33,7 @@ const FC = (props) => { ...@@ -33,7 +33,7 @@ const FC = (props) => {
type: 'pds.offline', type: 'pds.offline',
payload: { payload: {
params: { params: {
reason: values?.desc reason: values?.desc||''
}, },
data: ids data: ids
}, },
...@@ -78,7 +78,7 @@ const FC = (props) => { ...@@ -78,7 +78,7 @@ const FC = (props) => {
<Form.Item <Form.Item
label="下线原因" label="下线原因"
name="desc" name="desc"
rules={[{ required: true, message: '请填写下线原因' }]} // rules={[{ required: true, message: '请填写下线原因' }]}
> >
<Input.TextArea rows={6} /> <Input.TextArea rows={6} />
</Form.Item> </Form.Item>
......
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