fix: 创建/编辑角色优化

This commit is contained in:
GraceWalk
2022-09-13 11:44:08 +08:00
parent 4efe35dd51
commit 66f3bc61fe
3 changed files with 33 additions and 10 deletions

View File

@@ -73,12 +73,12 @@ const CheckboxGroupContainer = (props: CheckboxGroupType) => {
</Checkbox>
</div>
<Checkbox.Group disabled={disabled} style={{ width: '100%' }} value={checkedList} onChange={onCheckedChange}>
<Row gutter={[34, 10]}>
<Row gutter={[10, 10]}>
{options.map((option) => {
return (
<Col span={8} key={option.value}>
<Checkbox value={option.value} className="checkbox-content-ellipsis">
{option.label}
{option.label.replace('Cluster-Load', '')}
</Checkbox>
</Col>
);