Commit 606bd934 authored by superman's avatar superman

1.4.1-2

parent e0f074c6
This diff is collapsed.
......@@ -233,9 +233,12 @@ export default class Item extends Component {
</Form.Item>
<Form.Item label="是否展示" {...formItemLayout}>
<Switch checkedChildren="是" unCheckedChildren="关"
{...getFieldProps('status')}
{...getFieldProps('status', {
initialValue: !!item.status,
valuePropName: 'checked'
})}
disabled={!isEdit}
defaultChecked={!!item.status}
/>
</Form.Item>
<FooterOperation {...this.props} isEdit={isEdit} command="BANNER"
......
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