fix: npm 下钻 traffic 下拉国际化
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
.el-input__inner {
|
.el-input__inner {
|
||||||
width: 140px;
|
width: 225px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
:popper-append-to-body="false"
|
:popper-append-to-body="false"
|
||||||
@change="metricChange"
|
@change="metricChange"
|
||||||
>
|
>
|
||||||
<el-option v-for="item in metricOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
|
<el-option v-for="item in metricOptions" :key="item.value" :label="$t(item.label)" :value="item.value"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -86,23 +86,23 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'establishLatencyMs',
|
value: 'establishLatencyMs',
|
||||||
label: 'establishLatencyMs'
|
label: 'networkAppPerformance.tcpConnectionEstablishLatency'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'httpResponseLatency',
|
value: 'httpResponseLatency',
|
||||||
label: 'httpResponseLatency'
|
label: 'networkAppPerformance.httpResponse'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'sslConLatency',
|
value: 'sslConLatency',
|
||||||
label: 'sslConLatency'
|
label: 'networkAppPerformance.sslResponseLatency'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'tcpLostlenPercent',
|
value: 'tcpLostlenPercent',
|
||||||
label: 'tcpLostlenPercent'
|
label: 'networkAppPerformance.packetLoss'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'pktRetransPercent',
|
value: 'pktRetransPercent',
|
||||||
label: 'pktRetransPercent'
|
label: 'overall.packetRetrans'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
npmShowType: 'Bits/s'
|
npmShowType: 'Bits/s'
|
||||||
|
|||||||
Reference in New Issue
Block a user