king
2023-03-15 3875da845b8fae679bd784d1246101a5fb1b61b5
src/templates/sharecomponent/fieldscomponent/index.jsx
@@ -263,9 +263,16 @@
    const { type } = this.props
    const { fields } = this.state
    let label = '批量添加'
    if (type === 'search') {
      label = '添加搜索'
    } else if (type === 'columns') {
      label = '添加显示列'
    }
    return (
      <div className="quickly-add">
        <Button type="primary" block onClick={this.queryField}>批量添加</Button>
        <Button type="primary" block onClick={this.queryField}>{label}</Button>
        {/* 根据字段名添加显示列及搜索条件 */}
        <Modal
          wrapClassName="model-table-fieldmanage-modal"