king
2022-07-22 0c439ced2c97905cb2b02f5f689a37b19369fb8a
src/tabviews/custom/components/share/normalheader/index.jsx
@@ -9,7 +9,6 @@
class NormalHeader extends Component {
  static propTpyes = {
    BID: PropTypes.any,        // 上级主键值
    menuType: PropTypes.any,   // 菜单类型
    config: PropTypes.object,  // 配置信息
    refresh: PropTypes.func    // 条件刷新
  }
@@ -40,7 +39,7 @@
  }
  render() {
    const { config, menuType, BID } = this.props
    const { config, BID } = this.props
    const { title, show } = this.state
    if (!title && !show) return null
@@ -48,7 +47,7 @@
    return (
      <div className={'normal-header' + (show ? ' header-search' : '')} style={config.headerStyle}>
        <span className="title">{title}</span>
        {show ? <SearchComponent config={config} BID={BID} menuType={menuType} refreshdata={this.props.refresh}/> : null}
        {show ? <SearchComponent config={config} BID={BID} refreshdata={this.props.refresh}/> : null}
      </div>
    )
  }