king
2024-03-18 8881f69f5d7127a4090184b3ea7c9cbf9574100e
src/tabviews/zshare/topSearch/index.jsx
@@ -66,6 +66,10 @@
      _setting.wrapperCol = {style: {width: (100 - _setting.labelwidth) + '%'}}
      _setting.borderRadius = config.wrap.borderRadius
      _setting.resetContrl = config.wrap.resetContrl || 'init'
      if (config.wrap.searchBtn === 'show') {
        _setting.showBtn = true
      }
    }
    
    if (config.type === 'search') {
@@ -761,6 +765,16 @@
          </Form.Item>
        </Col>
      )
    } else if (setting.showBtn) {
      fields.push(
        <Col className="mk-search-col search-button" key="actions">
          <Form.Item>
            <Button type="primary" onClick={this.handleSubmit}>
              搜索
            </Button>
          </Form.Item>
        </Col>
      )
    }
    
    return fields