king
2023-11-14 ef8acbf3859bd13e759fbb9b8ba726039c1fb2c5
src/tabviews/custom/components/form/simple-form/index.jsx
@@ -383,12 +383,12 @@
    }
  }
  mkFormSubmit = (btnId, callback) => {
  mkFormSubmit = (btnId, callback, formId) => {
    const { group } = this.state
    if (group.uuid !== btnId) return
    this.formRef.handleConfirm().then(res => {
    this.formRef.handleConfirm(formId).then(res => {
      MKEmitter.emit('triggerFormSubmit', {menuId: btnId, form: res})
    }, () => {
      callback && callback()
@@ -432,7 +432,7 @@
          data={data}
          action={group}
          unload={config.setting.supModule && !BID}
          inputSubmit={() => this.mkFormSubmit(group.uuid)}
          inputSubmit={(id) => this.mkFormSubmit(group.uuid, null, id)}
          wrappedComponentRef={(inst) => this.formRef = inst}
        /> : null}
        {data ? <div className={'mk-form-action ' + (group.$button || '')}>