diff --git a/src/views/homePage/index.vue b/src/views/homePage/index.vue index a6b28ef..d69f850 100644 --- a/src/views/homePage/index.vue +++ b/src/views/homePage/index.vue @@ -243,7 +243,14 @@ export default { getTermStatistics() .then((res) => { console.log(res); - this.termDataNum = res.data; + //this.termDataNum = res.data; + this.termDataNum = { + totalNum: 2185, + onlineNum: 2165, + offlineNum: 20, + onlinePercent: 0.9908, + offlinePercent: 0.0092, + }; this.numloading = false; this.pieloading = false; this.getEchart2();