Commit 705d9b1566055e935bf227b59f666d16dc120c5c
1 parent
8b9d912e
停车场总数
Showing
1 changed file
with
8 additions
and
9 deletions
src/components/chinaMap/index.vue
... | ... | @@ -75,18 +75,17 @@ |
75 | 75 | console.log(response); |
76 | 76 | }) |
77 | 77 | |
78 | - //this.parkParams.endVal = this.getParkingTotal | |
79 | 78 | this.mapChart= this.createPie(); |
80 | 79 | const _self=this; |
81 | 80 | //var tmpCount=0; |
82 | - setInterval(function(){ | |
83 | - let tmpCount =Math.floor(Math.random()*3+1);;//1-3随机数 | |
84 | -// _self.parkParams.startVal= _self.parkParams.endVal; | |
85 | -// _self.parkParams.endVal +=tmpCount; | |
86 | - //console.log(tmpCount); | |
87 | - _self.dayParams.startVal=_self.dayParams.endVal; | |
88 | - _self.dayParams.endVal +=tmpCount; | |
89 | - },10000); | |
81 | +// setInterval(function(){ | |
82 | +// let tmpCount =Math.floor(Math.random()*3+1);;//1-3随机数 | |
83 | +// // _self.parkParams.startVal= _self.parkParams.endVal; | |
84 | +// // _self.parkParams.endVal +=tmpCount; | |
85 | +// //console.log(tmpCount); | |
86 | +// _self.dayParams.startVal=_self.dayParams.endVal; | |
87 | +// _self.dayParams.endVal +=tmpCount; | |
88 | +// },10000); | |
90 | 89 | window.addEventListener('resize', function() { |
91 | 90 | this.mapChart.resize() |
92 | 91 | }.bind(this)); | ... | ... |