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.
- package/dist/all.esm.js +6 -5
- package/dist/style.css +1 -1
- package/es/grid/src/grid.js +2 -1
- package/es/style.css +1 -1
- package/es/table/src/table.js +2 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/grid/src/grid.js +2 -1
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.umd.js +6 -5
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/table.js +2 -2
- package/lib/table/src/table.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +3 -3
- package/packages/grid/src/grid.ts +2 -1
- package/packages/table/src/table.ts +2 -2
- /package/es/{iconfont.1789914604819.ttf → iconfont.1789983635313.ttf} +0 -0
- /package/es/{iconfont.1789914604819.woff → iconfont.1789983635313.woff} +0 -0
- /package/es/{iconfont.1789914604819.woff2 → iconfont.1789983635313.woff2} +0 -0
- /package/lib/{iconfont.1789914604819.ttf → iconfont.1789983635313.ttf} +0 -0
- /package/lib/{iconfont.1789914604819.woff → iconfont.1789983635313.woff} +0 -0
- /package/lib/{iconfont.1789914604819.woff2 → iconfont.1789983635313.woff2} +0 -0
package/es/grid/src/grid.js
CHANGED
|
@@ -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;
|