king
2023-11-15 8801918dc8ecaf6d3436c1d23b5ad3c09cb6c4db
src/tabviews/custom/components/form/simple-form/index.jsx
@@ -222,24 +222,25 @@
    if (group.uuid !== menuId) return
    if (position === 'grid' && config.wrap.refocus) {
      let _group = fromJS(group).toJS()
      _group.setting.focus = config.wrap.refocus
      this.setState({
        group: _group
      })
    }
    if ((position === 'mainline' || position === 'popclose') && config.setting.supModule && BID) {
      MKEmitter.emit('reloadData', config.setting.supModule, BID)
    } else if (position === 'grid' && config.wrap.datatype === 'static') {
      if (config.wrap.refocus && group.setting.focus === config.wrap.refocus) {
        let _group = fromJS(group).toJS()
        _group.setting.focus = config.wrap.focus
        this.setState({
          group: _group
        })
      }
      this.setState({
        data: null
      }, () => {
        this.setState({data: {$$empty: true}})
      })
    } else {
      this.loadData()
      this.loadData(position === 'grid')
    }
    if (id) {