|
@@ -63,7 +63,7 @@ const ChannelForm = React.forwardRef((props, ref) => {
|
63
|
63
|
<Form {...formItemLayout} onSubmit={handleSubmit}>
|
64
|
64
|
<Form.Item label="渠道">
|
65
|
65
|
{getFieldDecorator('channelIdList', {
|
66
|
|
- rules: [{required: true, message: '请选择渠道'}]
|
|
66
|
+ // rules: [{required: true, message: '请选择渠道'}]
|
67
|
67
|
})(
|
68
|
68
|
<Select mode="multiple" style={{ width: '100%' }}>
|
69
|
69
|
{
|
|
@@ -84,7 +84,6 @@ const ChannelForm = React.forwardRef((props, ref) => {
|
84
|
84
|
<AuthButton name="building.channel.save">
|
85
|
85
|
<Button style={{marginLeft: '4em'}} loading={loading} type="primary" htmlType="submit">保存</Button>
|
86
|
86
|
</AuthButton>
|
87
|
|
- <Button style={{marginLeft: '4em'}} loading={loading} type="primary" htmlType="submit">保存</Button>
|
88
|
87
|
{/* <Button style={{marginLeft: '2em'}} onClick={props.onCancel}>取消</Button> */}
|
89
|
88
|
</Form.Item>
|
90
|
89
|
</Form>
|