refactor(接口测试): 修复测试报告饼状图悬浮窗中没有提示数据类型的问题

--bug=1011627 --user=宋天阳 【接口测试】接口报告,左上角百分比注释,显示优化
https://www.tapd.cn/55049933/s/1128121
This commit is contained in:
song-tianyang 2022-03-31 14:21:30 +08:00 committed by 刘瑞斌
parent f2074137e2
commit ee97b2f77a
1 changed files with 7 additions and 4 deletions

View File

@ -242,6 +242,9 @@ export default {
radius: ['80%', '90%'],
avoidLabelOverlap: false,
hoverAnimation: false,
label: {
show: false,
},
itemStyle: {
borderColor: "#FFF",
shadowColor: '#E1E1E1',
@ -251,10 +254,10 @@ export default {
show: false
},
data: [
{value: this.content.success},
{value: this.content.error},
{value: this.content.errorCode},
{value: this.content.unExecute},
{value: this.content.success, name:this.$t('api_report.success')},
{value: this.content.error, name:this.$t('api_report.fail')},
{value: this.content.errorCode, name:this.$t('error_report_library.option.name')},
{value: this.content.unExecute, name:this.$t('api_test.home_page.detail_card.unexecute')},
]
}
]