From b9f032449fecad340110033eba900846ac8f5898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Mon, 25 Sep 2023 11:38:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Link=20Monitor=E7=A9=BA=E7=99=BD?= =?UTF-8?q?=E7=BD=91=E6=A0=BC=E5=9B=BE=E5=8E=BB=E9=99=A4hover=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E5=B9=B6=E4=BF=AE=E6=AD=A3=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E5=90=8D=E5=92=8C=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../charts/linkMonitor/LinkDirectionGrid.vue | 20 +++++++++---------- .../LinkDirectionGrid/PopoverContent.vue | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/views/charts2/charts/linkMonitor/LinkDirectionGrid.vue b/src/views/charts2/charts/linkMonitor/LinkDirectionGrid.vue index c9e246d1..5365a09b 100644 --- a/src/views/charts2/charts/linkMonitor/LinkDirectionGrid.vue +++ b/src/views/charts2/charts/linkMonitor/LinkDirectionGrid.vue @@ -137,11 +137,11 @@ export default { }) // 一行如果无数据,则删除该行,默认10*10矩阵 - const rowIndex1 = 0 - this.handleXRowNoData(linkGridData, rowIndex1) + const rowXIndex = 0 + this.handleXRowNoData(linkGridData, rowXIndex) // 一列如果无数据,则删除该列,默认10*10矩阵 - const rowIndex = 0 - this.handleYRowNoData(linkGridData, rowIndex) + const rowYIndex = 0 + this.handleYRowNoData(linkGridData, rowYIndex) this.isLinkNoData = linkGridData.length === 0 this.linkGridData = linkGridData } @@ -238,11 +238,11 @@ export default { }) // 一行如果无数据,则删除该行,默认3*3矩阵 - const rowIndex1 = 0 - this.handleXRowNoData(nextGridData, rowIndex1) + const rowXIndex = 0 + this.handleXRowNoData(nextGridData, rowXIndex) // 一列如果无数据,则删除该列,默认3*3矩阵 - const rowIndex = 0 - this.handleYRowNoData(nextGridData, rowIndex) + const rowYIndex = 0 + this.handleYRowNoData(nextGridData, rowYIndex) this.isNextNoData = nextGridData.length === 0 this.nextGridData = nextGridData @@ -315,7 +315,7 @@ export default { return width }, /** - * 删除重复行 + * 删除空行 * @param data * @param index */ @@ -337,7 +337,7 @@ export default { } }, /** - * 删除重复列 + * 删除空列 * @param data * @param index */ diff --git a/src/views/charts2/charts/linkMonitor/LinkDirectionGrid/PopoverContent.vue b/src/views/charts2/charts/linkMonitor/LinkDirectionGrid/PopoverContent.vue index fb7dd977..386c478c 100644 --- a/src/views/charts2/charts/linkMonitor/LinkDirectionGrid/PopoverContent.vue +++ b/src/views/charts2/charts/linkMonitor/LinkDirectionGrid/PopoverContent.vue @@ -136,7 +136,7 @@