Merge branch 'master' of https://github.com/linclin/gopub
This commit is contained in:
commit
1347c1c3a8
|
@ -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(() => {
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue