From bf2dc13380f859592f633dadb8011dcb64419311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Tue, 18 Jun 2024 10:50:24 +0800 Subject: [PATCH] =?UTF-8?q?CN-1669=20fix:=20=E5=8E=BB=E9=99=A4=E9=93=BE?= =?UTF-8?q?=E8=B7=AF=E7=95=8C=E9=9D=A2=E5=A4=9A=E4=BD=99=E7=9A=84npm?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=AF=B7=E6=B1=82=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit d82e69b8f4669b60b5b595d6c9660a5807e42ad5) --- src/views/charts2/Panel.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/views/charts2/Panel.vue b/src/views/charts2/Panel.vue index 0197132f..d8d72ff6 100644 --- a/src/views/charts2/Panel.vue +++ b/src/views/charts2/Panel.vue @@ -122,7 +122,7 @@ export default { watch: { timeFilter: { handler () { - if (this.$route.path === '/panel/networkAppPerformance' || this.$route.path === '/panel/linkMonitor') { + if (this.$route.path === '/panel/networkAppPerformance') { this.$store.commit('resetScoreBase') this.queryScoreBase() if (this.lineQueryCondition || this.networkOverviewBeforeTab) { @@ -227,7 +227,7 @@ export default { this.scoreCalculation() } } - if (this.$route.path === '/panel/networkAppPerformance' || this.$route.path === '/panel/linkMonitor') { + if (this.$route.path === '/panel/networkAppPerformance') { this.$store.commit('resetScoreBase') this.queryScoreBase() } @@ -422,10 +422,6 @@ export default { }, // 动态查询评分基准 queryScoreBase () { - const { name } = this.$route - if (name === fromRoute.linkMonitor) { - return true - } const params = { startTime: this.timeFilter.startTime, endTime: this.timeFilter.endTime