diff --git a/src/component/table/index.vue b/src/component/table/index.vue index 848f76e8..289478fe 100644 --- a/src/component/table/index.vue +++ b/src/component/table/index.vue @@ -101,6 +101,10 @@ const rowDoubleClick = function (data: any,evt:MouseEvent) { emit("row-double", data,evt); }; +const contextmenu = function (data: any,evt:MouseEvent) { + emit("contextmenu", data,evt); +}; + // 打印 table 数据 const print = function () { let subOutputRankPrint = document.getElementById(tableId) as HTMLElement; @@ -290,6 +294,7 @@ onMounted(() => {