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/dist/all.esm.js
CHANGED
|
@@ -47,7 +47,7 @@ function getDefaultConfig(val1, def1) {
|
|
|
47
47
|
return XEUtils.eqNull(val1) ? def1 : val1;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
const version = "4.22.
|
|
50
|
+
const version = "4.22.2";
|
|
51
51
|
VxeUI.version = version;
|
|
52
52
|
VxeUI.tableVersion = version;
|
|
53
53
|
VxeUI.setConfig({
|
|
@@ -931,7 +931,7 @@ function getPopupWrapperElement(panelElem) {
|
|
|
931
931
|
}
|
|
932
932
|
|
|
933
933
|
const { log } = VxeUI;
|
|
934
|
-
const tableVersion = `table v${"4.22.
|
|
934
|
+
const tableVersion = `table v${"4.22.2"}`;
|
|
935
935
|
function createComponentLog(name) {
|
|
936
936
|
const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : '';
|
|
937
937
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -26761,8 +26761,8 @@ var VxeTableComponent = defineVxeComponent({
|
|
|
26761
26761
|
}
|
|
26762
26762
|
}
|
|
26763
26763
|
}
|
|
26764
|
-
//
|
|
26765
|
-
if (isEnableConf(editConfig) && editOpts.trigger === 'dblclick') {
|
|
26764
|
+
// 如果是双击编辑模式,当autoClear=false时
|
|
26765
|
+
if (isEnableConf(editConfig) && editOpts.autoClear !== false && editOpts.trigger === 'dblclick') {
|
|
26766
26766
|
if (actived.row && actived.column) {
|
|
26767
26767
|
if (editOpts.mode === 'row') {
|
|
26768
26768
|
if (!$xeTable.eqRow(actived.row, row)) {
|
|
@@ -31742,13 +31742,14 @@ var VxeGridComponent = defineVxeComponent({
|
|
|
31742
31742
|
const submitFormEvent = (params) => {
|
|
31743
31743
|
const { proxyConfig } = props;
|
|
31744
31744
|
const proxyOpts = computeProxyOpts.value;
|
|
31745
|
+
const formOptions = proxyOpts.formOptions || {};
|
|
31745
31746
|
if (reactData.tableLoading) {
|
|
31746
31747
|
return;
|
|
31747
31748
|
}
|
|
31748
31749
|
if (proxyConfig && isEnableConf(proxyOpts)) {
|
|
31749
31750
|
$xeGrid.dispatchEvent('form-submit', params, params.$event);
|
|
31750
31751
|
internalData.uFoot = true;
|
|
31751
|
-
$xeGrid.commitProxy('reload').then((rest) => {
|
|
31752
|
+
$xeGrid.commitProxy(formOptions.submitMode || 'reload').then((rest) => {
|
|
31752
31753
|
$xeGrid.dispatchEvent('proxy-query', Object.assign(Object.assign({}, rest), { isReload: true }), params.$event);
|
|
31753
31754
|
});
|
|
31754
31755
|
internalData.uFoot = false;
|