1.0.1 • Published 8 years ago
allcheckbox v1.0.1
这个组件 用于全选
list={this.state.checkBoxList} //要传入的checkboxgroup
isAll={true} //是否全选
<Form.Item {...tableItemLayout} label="账单状态">
{getFieldDecorator('orderStatus', { initialValue: this.state.checkBoxVal })(
<AllCheckBox
list={this.state.checkBoxList}
isAll={true}
/>,
)}
</Form.Item>
可以通过这样的方式去 包含在from表单中获取