king
2024-02-22 a7813a33fc5f60ea995dfe0f09f52243e2ccfbb2
src/menu/datasource/verifycard/customscript/index.jsx
@@ -34,14 +34,14 @@
    const { searches } = this.props
    this.setState({
      usefulfields: getSearchFields(searches)
      usefulFields: getSearchFields(searches)
    })
  }
  UNSAFE_componentWillReceiveProps (nextProps) {
    if (!is(fromJS(this.props.searches), fromJS(nextProps.searches))) {
      this.setState({
        usefulfields: getSearchFields(nextProps.searches)
        usefulFields: getSearchFields(nextProps.searches)
      })
    }
  }