vxe-table 3.19.30 → 3.19.31
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/es/style.css +1 -1
- package/es/table/src/methods.js +8 -0
- package/es/table/src/table.js +1 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +5 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/methods.js +8 -0
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +1 -0
- 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 +1 -1
- package/packages/table/src/methods.ts +9 -0
- package/packages/table/src/table.ts +2 -0
- /package/es/{iconfont.1765844135646.ttf → iconfont.1765852897339.ttf} +0 -0
- /package/es/{iconfont.1765844135646.woff → iconfont.1765852897339.woff} +0 -0
- /package/es/{iconfont.1765844135646.woff2 → iconfont.1765852897339.woff2} +0 -0
- /package/lib/{iconfont.1765844135646.ttf → iconfont.1765852897339.ttf} +0 -0
- /package/lib/{iconfont.1765844135646.woff → iconfont.1765852897339.woff} +0 -0
- /package/lib/{iconfont.1765844135646.woff2 → iconfont.1765852897339.woff2} +0 -0
package/lib/table/src/methods.js
CHANGED
|
@@ -7072,6 +7072,10 @@ const tableMethods = {
|
|
|
7072
7072
|
const $xeTable = this;
|
|
7073
7073
|
const reactData = $xeTable;
|
|
7074
7074
|
const internalData = $xeTable;
|
|
7075
|
+
const isLeftBtn = evnt.button === 0;
|
|
7076
|
+
if (!isLeftBtn) {
|
|
7077
|
+
return;
|
|
7078
|
+
}
|
|
7075
7079
|
evnt.stopPropagation();
|
|
7076
7080
|
evnt.preventDefault();
|
|
7077
7081
|
const {
|
|
@@ -7957,6 +7961,10 @@ const tableMethods = {
|
|
|
7957
7961
|
});
|
|
7958
7962
|
}
|
|
7959
7963
|
},
|
|
7964
|
+
contextMenuEvent(evnt) {
|
|
7965
|
+
const $xeTable = this;
|
|
7966
|
+
$xeTable.dispatchEvent('context-menu', {}, evnt);
|
|
7967
|
+
},
|
|
7960
7968
|
/**
|
|
7961
7969
|
* 全局键盘事件
|
|
7962
7970
|
*/
|