refactor: 修改 chart title

This commit is contained in:
Captain.B 2020-08-26 16:58:36 +08:00
parent 7dba6df7b1
commit 9ae8305b2c
1 changed files with 2 additions and 1 deletions

View File

@ -106,7 +106,8 @@ export default {
formatter: '{b}: {c} ({d}%)'
},
title: [{
text: '{value|' + this.content.total + '}\n{name|' + this.$t('api_report.request') + '}',
text: this.content.total,
subtext: this.$t('api_report.request'),
top: 'center',
left: 'center',
textStyle: {