From d3dff4c5fea81b57c3371f44fa002cf7fe56c926 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 26 Nov 2021 14:30:55 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1322=20fix=EF=BC=9A=20Endpoint=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E8=A1=A8=E8=BE=BE=E5=BC=8F=E5=9B=BE=E8=A1=A8=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E5=88=87=E6=8D=A2=E6=97=B6=E9=97=B4=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=8F=98=E5=8C=96=EF=BC=8C=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E5=9B=9E=E5=8E=9F=E6=97=B6=E9=97=B4=EF=BC=8C=E5=9B=BE=E5=83=8F?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/common/table/alert/alertMessageTable.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue b/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue index aea536206..7807400c5 100644 --- a/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue +++ b/nezha-fronted/src/components/common/table/alert/alertMessageTable.vue @@ -13,7 +13,7 @@ @header-dragend="dragend" @sort-change="tableDataSort" @selection-change="selectionChange" - @row-dblclick="(row)=>{$emit('messageDetail', row)}" + @row-dblclick="(row)=>{rowDblclick(row)}" > { return s.value == key }).label) + }, + rowDblclick (row) { + if (!this.showOption) { + return + } + this.$emit('messageDetail', row) } /* plpsscrolly(el,self){ if (el._ps_.scrollbarYTop > 50) {