fix(接口测试): 首页接口数量统计Label修改
--bug=1028231 --user=宋昌昌 [接口测试] github#25408接口测试首页统计,rpc协议和列表显示的下拉不一致, https://www.tapd.cn/55049933/s/1400524
This commit is contained in:
parent
6efe6cb29f
commit
9cb5163212
|
@ -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' },
|
||||||
];
|
];
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
margin: 7px;
|
margin: 7px;
|
||||||
float: left;
|
float: left;
|
||||||
" />
|
" />
|
||||||
<span style="line-height: 22px">HTTP:</span>
|
<span style="line-height: 22px">HTTP :</span>
|
||||||
<div style="float: right">
|
<div style="float: right">
|
||||||
<el-link
|
<el-link
|
||||||
class="coverage-num-link"
|
class="coverage-num-link"
|
||||||
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue