Merge "fix: Fix the disable property of check-box-group"

This commit is contained in:
Zuul 2022-09-23 12:29:30 +00:00 committed by Gerrit Code Review
commit 3713c044f1

View File

@ -68,7 +68,9 @@ export default class index extends Component {
<Row>
{options.map((opt) => (
<Col span={span} key={opt.value}>
<Checkbox value={opt.value}>{opt.label}</Checkbox>
<Checkbox value={opt.value} disabled={!!opt.disabled}>
{opt.label}
</Checkbox>
</Col>
))}
</Row>