close = () => { const { maskBack } = this.props; if(maskBack){ maskBack() } }
handMaskBack = () => { this.setState({ mask:false }) } { mask ? <Search maskBack={this.handMaskBack}></Search> : null }
close = () => { const { maskBack } = this.props; if(maskBack){ maskBack() } }
handMaskBack = () => { this.setState({ mask:false }) } { mask ? <Search maskBack={this.handMaskBack}></Search> : null }