|
@@ -59,10 +59,10 @@ export default {
|
|
|
const looper = (a) => {
|
|
|
this.getData('china')
|
|
|
}
|
|
|
- this.timer = setInterval(looper, this.$store.state.setting.echartsAutoTime)
|
|
|
+ this.timer = setInterval(looper, 30000)
|
|
|
},
|
|
|
getData (code) {
|
|
|
- this.loading = true
|
|
|
+ this.loading = !this.timer ? true : false
|
|
|
queryMapSaleData(getDate.getBeDateByYear(this.curYear)).then((res) => {
|
|
|
console.log('地图', res)
|
|
|
if (res.status == 200) {
|