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.
@@ -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
  */