king
2021-06-28 3c26f581cd77bed95cc56464f8424993f3c6b13a
src/tabviews/commontable/index.jsx
@@ -441,11 +441,6 @@
  loadData = () => {
    const { setting, search, BIDs, loadCustomApi, hasReqFields } = this.state
    let requireFields = []
    if (hasReqFields) {
      requireFields = search.filter(item => item.required && item.value === '')
    }
    this.setState({
      selectedData: [],
@@ -456,12 +451,18 @@
      }
    })
    if (requireFields.length > 0) {
      this.setState({
        loading: false
      })
      return
    } else if (window.GLOB.systemType === 'production' && setting.interType === 'custom' && !setting.proInterface) {
    if (hasReqFields) {
      let requireFields = search.filter(item => item.required && item.value === '')
      if (requireFields.length > 0) {
        this.setState({
          loading: false
        })
        return
      }
    }
    if (window.GLOB.systemType === 'production' && setting.interType === 'custom' && !setting.proInterface) {
      notification.warning({
        top: 92,
        message: '未设置正式系统地址!',