vxe-table 4.22.0 → 4.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -419,13 +419,14 @@ export default defineVxeComponent({
419
419
  const submitFormEvent = (params) => {
420
420
  const { proxyConfig } = props;
421
421
  const proxyOpts = computeProxyOpts.value;
422
+ const formOptions = proxyOpts.formOptions || {};
422
423
  if (reactData.tableLoading) {
423
424
  return;
424
425
  }
425
426
  if (proxyConfig && isEnableConf(proxyOpts)) {
426
427
  $xeGrid.dispatchEvent('form-submit', params, params.$event);
427
428
  internalData.uFoot = true;
428
- $xeGrid.commitProxy('reload').then((rest) => {
429
+ $xeGrid.commitProxy(formOptions.submitMode || 'reload').then((rest) => {
429
430
  $xeGrid.dispatchEvent('proxy-query', Object.assign(Object.assign({}, rest), { isReload: true }), params.$event);
430
431
  });
431
432
  internalData.uFoot = false;