From f17860a2289b744d928b11a3e8758e0cd6f139ee Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Sat, 3 Sep 2022 12:24:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20npm=20=E4=B8=8B=E9=92=BB=20traffic=20?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../css/components/views/charts2/npmTrafficLine.scss | 2 +- src/views/charts2/charts/npm/NpmTrafficLine.vue | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/assets/css/components/views/charts2/npmTrafficLine.scss b/src/assets/css/components/views/charts2/npmTrafficLine.scss index bf8c25f4..df0cb0cb 100644 --- a/src/assets/css/components/views/charts2/npmTrafficLine.scss +++ b/src/assets/css/components/views/charts2/npmTrafficLine.scss @@ -26,7 +26,7 @@ box-shadow: none; border-radius: 2px; .el-input__inner { - width: 140px; + width: 225px; height: 24px; padding-left: 4px; line-height: 24px; diff --git a/src/views/charts2/charts/npm/NpmTrafficLine.vue b/src/views/charts2/charts/npm/NpmTrafficLine.vue index dde1a0c5..6fd47c95 100644 --- a/src/views/charts2/charts/npm/NpmTrafficLine.vue +++ b/src/views/charts2/charts/npm/NpmTrafficLine.vue @@ -13,7 +13,7 @@ :popper-append-to-body="false" @change="metricChange" > - + @@ -86,23 +86,23 @@ export default { }, { value: 'establishLatencyMs', - label: 'establishLatencyMs' + label: 'networkAppPerformance.tcpConnectionEstablishLatency' }, { value: 'httpResponseLatency', - label: 'httpResponseLatency' + label: 'networkAppPerformance.httpResponse' }, { value: 'sslConLatency', - label: 'sslConLatency' + label: 'networkAppPerformance.sslResponseLatency' }, { value: 'tcpLostlenPercent', - label: 'tcpLostlenPercent' + label: 'networkAppPerformance.packetLoss' }, { value: 'pktRetransPercent', - label: 'pktRetransPercent' + label: 'overall.packetRetrans' } ], npmShowType: 'Bits/s'