This commit is contained in:
shijingjing
2022-08-03 16:07:29 +08:00
parent 8bd1a1fd10
commit 368db1715f
2 changed files with 2 additions and 6 deletions

View File

@@ -301,9 +301,9 @@ export default {
show: true,
formatter: ({ name, value }) => {
if (this.tabIndex == 0) {
return `{name|任务达成率\n\n}{value|${ this.detail.completionRate }%}`;
return `{name|任务达成率\n\n}{value|${ this.detail.completionRate || 0 }%}`;
} else {
return `{name|群发送达率\n\n}{value|${ this.detail.completionRate }%}`;
return `{name|群发送达率\n\n}{value|${ this.detail.completionRate || 0 }%}`;
}
},
textStyle: {