⚡ 上级部门字段放开校验
This commit is contained in:
parent
26de04cc99
commit
54fb6e8bc7
|
|
@ -109,12 +109,6 @@ class DeptAdd extends PureComponent {
|
|||
<Col span={10}>
|
||||
<FormItem {...formItemLayout} label="上级部门">
|
||||
{getFieldDecorator('parentId', {
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '请选择上级部门',
|
||||
},
|
||||
],
|
||||
initialValue: detail.id,
|
||||
})(
|
||||
<TreeSelect
|
||||
|
|
|
|||
|
|
@ -121,12 +121,6 @@ class DeptEdit extends PureComponent {
|
|||
<Col span={10}>
|
||||
<FormItem {...formItemLayout} label="上级部门">
|
||||
{getFieldDecorator('parentId', {
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '请选择上级部门',
|
||||
},
|
||||
],
|
||||
initialValue: detail.parentId,
|
||||
})(
|
||||
<TreeSelect
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user