king
2022-06-02 94fe37551855f542d1cbad8b7af7fe3311daeddb
src/tabviews/custom/components/form/tab-form/index.jsx
@@ -237,7 +237,7 @@
  async loadData () {
    const { mainSearch, menuType } = this.props
    const { config, arr_field, BID, group } = this.state
    const { config, arr_field, BID } = this.state
    if (config.wrap.datatype === 'static' || (config.setting.supModule && !BID)) {
      this.setState({
@@ -264,14 +264,11 @@
    if (result.status) {
      let _data = result.data && result.data[0] ? result.data[0] : {$$empty: true}
      let _group = group
      this.setState({
        group: null,
        data: _data || {$$empty: true},
        data: null,
        loading: false
      }, () => {
        this.setState({group: _group})
        this.setState({data: _data})
      })
    } else {
      this.setState({