From 0a9c5e2fcfcbc423acbed40aecd9dc02d44df76b 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, 26 Sep 2023 15:55:10 +0800 Subject: [PATCH] =?UTF-8?q?CN-1350=20fix:=20Network=20&=20App=20Performanc?= =?UTF-8?q?e>>Location=E9=A1=B5=E9=9D=A2=E5=88=87=E6=8D=A2=E4=B8=BAClient?= =?UTF-8?q?=E6=97=B6=EF=BC=8CThroughput=E8=B6=8B=E5=8A=BF=E5=9B=BE?= =?UTF-8?q?=E7=9A=84=E9=A2=9C=E8=89=B2=E4=B8=8E=E5=8F=B3=E4=B8=8A=E8=A7=92?= =?UTF-8?q?=E6=8F=90=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 --- src/views/charts2/charts/npm/NpmLine.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/charts2/charts/npm/NpmLine.vue b/src/views/charts2/charts/npm/NpmLine.vue index 80cb391e..4ba36996 100644 --- a/src/views/charts2/charts/npm/NpmLine.vue +++ b/src/views/charts2/charts/npm/NpmLine.vue @@ -178,8 +178,8 @@ export default { } this.chartOption = npmLineChartOption this.chartOption.color = this.chartData.params.color - this.chartOption.color = this.chartOption.color.reverse() - data = data.reverse() + // this.chartOption.color = this.chartOption.color.reverse() + // data = data.reverse() this.chartOption.series = data.map((t, i) => { return { @@ -226,7 +226,7 @@ export default { } }) }) - return stackedLineTooltipFormatter(params) + return stackedLineTooltipFormatter(params.reverse()) } this.myChartArray.push(this.myChart)