king
2021-06-26 bfadd84fbc2b23c59695e5a94778ab7ac40fea03
src/menu/components/search/main-search/wrapsetting/settingform/index.jsx
@@ -12,7 +12,6 @@
  }
  state = {
    float: this.props.wrap.float,
    roleList: []
  }
@@ -55,7 +54,7 @@
  render() {
    const { wrap } = this.props
    const { getFieldDecorator } = this.props.form
    const { float, roleList } = this.state
    const { roleList } = this.state
    const formItemLayout = {
      labelCol: {
@@ -130,14 +129,14 @@
                {getFieldDecorator('float', {
                  initialValue: wrap.float || 'left'
                })(
                  <Radio.Group onChange={(e) => this.setState({float: e.target.value})}>
                  <Radio.Group>
                    <Radio value="left">左对齐</Radio>
                    <Radio value="right">右对齐</Radio>
                  </Radio.Group>
                )}
              </Form.Item>
            </Col>
            {float !== 'right' ? <Col span={12}>
            <Col span={12}>
              <Form.Item label="搜索按钮">
                {getFieldDecorator('show', {
                  initialValue: wrap.show || 'true'
@@ -148,7 +147,7 @@
                  </Radio.Group>
                )}
              </Form.Item>
            </Col> : null}
            </Col>
            <Col span={12}>
              <Form.Item label="黑名单">
                {getFieldDecorator('blacklist', {