This commit is contained in:
高山 2018-06-12 14:53:39 +08:00
commit 1347c1c3a8
1 changed files with 4 additions and 1 deletions

View File

@ -149,7 +149,10 @@
this.totalmem=data.totalmen; this.totalmem=data.totalmen;
this.totalproject=data.totalproject; this.totalproject=data.totalproject;
this.totalpub=data.totalpub; this.totalpub=data.totalpub;
this.totalpubsuccess=(data.totalpubsuccess/data.totalpub).toFixed(2) *100 this.totalpubsuccess = data.totalpubsuccess;
if (data.totalpub) {
this.totalpubsuccess=(this.totalpubsuccess/data.totalpub).toFixed(2)*100;
}
this.hostsum=data.hostsum; this.hostsum=data.hostsum;
}).catch(() => { }).catch(() => {
}) })