From da34633b25d16359cd91a656acad5e811f9972b7 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 14 三月 2023 18:09:54 +0800 Subject: [PATCH] 2023-03-14 --- src/components/normalform/modalform/mkCheckbox/index.jsx | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/components/normalform/modalform/mkCheckbox/index.jsx b/src/components/normalform/modalform/mkCheckbox/index.jsx index 934eece..17f37d5 100644 --- a/src/components/normalform/modalform/mkCheckbox/index.jsx +++ b/src/components/normalform/modalform/mkCheckbox/index.jsx @@ -3,8 +3,6 @@ import { is, fromJS } from 'immutable' import { Checkbox } from 'antd' -import './index.scss' - class MKCheckbox extends Component { static propTpyes = { config: PropTypes.object, @@ -36,7 +34,7 @@ const { value, options } = this.state return ( - <Checkbox.Group defaultValue={value} onChange={this.onChange}> + <Checkbox.Group style={{whiteSpace: 'nowrap'}} defaultValue={value} onChange={this.onChange}> {options.map(option => <Checkbox key={option.value} title={option.label} disabled={option.disabled} value={option.value}>{option.label}</Checkbox>)} </Checkbox.Group> ) -- Gitblit v1.8.0