fix: 修复 npm =》 总流量折线图国际化报错问题
This commit is contained in:
@@ -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="$t(item.label)" :value="item.value"></el-option>
|
<el-option v-for="item in metricOptions" :key="item.value" :label="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: 'networkAppPerformance.tcpConnectionEstablishLatency'
|
label: this.$t('networkAppPerformance.tcpConnectionEstablishLatency')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'httpResponseLatency',
|
value: 'httpResponseLatency',
|
||||||
label: 'networkAppPerformance.httpResponse'
|
label: this.$t('networkAppPerformance.httpResponse')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'sslConLatency',
|
value: 'sslConLatency',
|
||||||
label: 'networkAppPerformance.sslResponseLatency'
|
label: this.$t('networkAppPerformance.sslResponseLatency')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'tcpLostlenPercent',
|
value: 'tcpLostlenPercent',
|
||||||
label: 'networkAppPerformance.packetLoss'
|
label: this.$t('networkAppPerformance.packetLoss')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'pktRetransPercent',
|
value: 'pktRetransPercent',
|
||||||
label: 'overall.packetRetrans'
|
label: this.$t('overall.packetRetrans')
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
npmShowType: 'Bits/s'
|
npmShowType: 'Bits/s'
|
||||||
|
|||||||
Reference in New Issue
Block a user