Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/linclin/gopub
Browse files Browse the repository at this point in the history
  • Loading branch information
高山 authored and 高山 committed Jun 12, 2018
2 parents 9ad7607 + 7ff92da commit 1347c1c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vue-gopub/src/pages/home/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@
this.totalmem=data.totalmen;
this.totalproject=data.totalproject;
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;
}).catch(() => {
})
Expand Down

0 comments on commit 1347c1c

Please sign in to comment.