king
2022-03-29 b6cbfb08b51e87e6eac995be8e7751815715e6a1
src/tabviews/custom/components/form/tab-form/index.jsx
@@ -111,7 +111,9 @@
      arr_field: config.columns.map(col => col.field).join(','),
    }, () => {
      if (config.wrap.datatype !== 'static' && config.setting && config.setting.sync !== 'true' && config.setting.onload === 'true') {
        this.loadData()
        setTimeout(() => {
          this.loadData()
        }, config.setting.delay || 0)
      }
    })
  }
@@ -182,16 +184,16 @@
    if (group.uuid !== menuId) return
    if (btn.syncComponentId && btn.syncComponentId !== config.uuid && btn.syncComponentId !== config.setting.supModule) {
      MKEmitter.emit('reloadData', btn.syncComponentId)                        // 同级标签刷新
    btn.syncComponentId && MKEmitter.emit('reloadData', btn.syncComponentId)
    if (!btn.syncComponentId || btn.syncComponentId !== config.setting.supModule) {
      if (config.wrap.datatype !== 'static' && config.setting) {
        this.loadData()
      }
    }
    if (id) {
      MKEmitter.emit('resetSelectLine', config.uuid, id, '')
    }
    if (config.wrap.datatype !== 'static' && config.setting) {
      this.loadData()
    }
    this.execSuccess(btn, id)