king
2020-02-28 888095418c902cc94693cba8b45f31bb79cdf818
src/tabviews/formtab/formgroup/index.jsx
@@ -586,7 +586,7 @@
  }
  render() {
    const { groups } = this.props
    const { groups, setting } = this.props
    const formItemLayout = {
      labelCol: {
        xs: { span: 24 },
@@ -598,7 +598,10 @@
      }
    }
    let _width = (setting && setting.width) || 100
    let keys = groups.map(group => group.uuid)
    return (
      <Form {...formItemLayout}>
        <Collapse
@@ -607,7 +610,7 @@
        >
          {groups.map(group =>
            <Panel header={group.label} key={group.uuid}>
              <Row gutter={24}>{this.getFields(group.sublist)}</Row>
              <Row style={{margin: '0 auto', width: _width + '%'}} gutter={24}>{this.getFields(group.sublist)}</Row>
            </Panel>
          )}
        </Collapse>