提交 4adc8e52 authored 作者: chlolch's avatar chlolch

修复bug

上级 c2e78b1f
...@@ -1426,7 +1426,7 @@ export default class tableCom extends Component { ...@@ -1426,7 +1426,7 @@ export default class tableCom extends Component {
j, j,
isPreview isPreview
} = this.props; } = this.props;
const { options, labels, selectDis, modalCode, modalTitle, modalInit, modalProps } = this.state; const { options, labels, selectDis, modalCode, modalTitle, modalInit, modalProps } = this.state;
const { getFieldDecorator, getFieldError, getFieldProps } = this.props.form; const { getFieldDecorator, getFieldError, getFieldProps } = this.props.form;
const disabled = json != null ? json.disabled : false; const disabled = json != null ? json.disabled : false;
...@@ -3238,7 +3238,15 @@ export default class tableCom extends Component { ...@@ -3238,7 +3238,15 @@ export default class tableCom extends Component {
{cm} {cm}
</MobileItem> </MobileItem>
) : ( ) : (
cm isEdit && get == 'web' ? (json.isLabel ? <Form.Item
labelCol={{ span: json.labelSpan }}
wrapperCol={{ span: json.wrapperSpan }}
label={title}>
{cm}
</Form.Item> : <Form.Item>{cm}</Form.Item>) : cm
)} )}
</> </>
); );
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论