fix(接口测试): 首页接口数量统计Label修改

--bug=1028231 --user=宋昌昌 [接口测试] github#25408接口测试首页统计,rpc协议和列表显示的下拉不一致, https://www.tapd.cn/55049933/s/1400524
This commit is contained in:
song-cc-rock 2023-08-03 11:30:06 +08:00 committed by fit2-zhao
parent 6efe6cb29f
commit 9cb5163212
2 changed files with 5 additions and 5 deletions

View File

@ -84,7 +84,7 @@ export default {
let dataIsNotEmpty = false; let dataIsNotEmpty = false;
let protocolData = [ let protocolData = [
{ value: 0, name: 'HTTP' }, { value: 0, name: 'HTTP' },
{ value: 0, name: 'RPC' }, { value: 0, name: 'DUBBO' },
{ value: 0, name: 'TCP' }, { value: 0, name: 'TCP' },
{ value: 0, name: 'SQL' }, { value: 0, name: 'SQL' },
]; ];
@ -96,7 +96,7 @@ export default {
dataIsNotEmpty = true; dataIsNotEmpty = true;
protocolData = [ protocolData = [
{ value: this.apiData.httpCount > 0 ? this.apiData.httpCount : '-', name: 'HTTP' }, { value: this.apiData.httpCount > 0 ? this.apiData.httpCount : '-', name: 'HTTP' },
{ value: this.apiData.rpcCount > 0 ? this.apiData.rpcCount : '-', name: 'RPC' }, { value: this.apiData.rpcCount > 0 ? this.apiData.rpcCount : '-', name: 'DUBBO' },
{ value: this.apiData.tcpCount > 0 ? this.apiData.tcpCount : '-', name: 'TCP' }, { value: this.apiData.tcpCount > 0 ? this.apiData.tcpCount : '-', name: 'TCP' },
{ value: this.apiData.sqlCount > 0 ? this.apiData.sqlCount : '-', name: 'SQL' }, { value: this.apiData.sqlCount > 0 ? this.apiData.sqlCount : '-', name: 'SQL' },
]; ];

View File

@ -69,7 +69,7 @@
margin: 7px; margin: 7px;
float: left; float: left;
" /> " />
<span style="line-height: 22px">RPC :</span> <span style="line-height: 22px">DUBBO :</span>
<div style="float: right"> <div style="float: right">
<el-link <el-link
class="coverage-num-link" class="coverage-num-link"
@ -155,7 +155,7 @@
margin: 7px; margin: 7px;
float: left; float: left;
" /> " />
<span style="line-height: 22px">RPC :</span> <span style="line-height: 22px">DUBBO :</span>
<div style="float: right"> <div style="float: right">
<el-link <el-link
class="coverage-num-link" class="coverage-num-link"