|
@@ -138,19 +138,19 @@ export default {
|
|
this.$util.autoVueFn(
|
|
this.$util.autoVueFn(
|
|
[
|
|
[
|
|
{
|
|
{
|
|
- time: 1000 * 10,
|
|
|
|
|
|
+ time: 1000 * 5,
|
|
fn: this.getWeatherForecast,
|
|
fn: this.getWeatherForecast,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- time: 1000 * 10,
|
|
|
|
|
|
+ time: 1000 * 5,
|
|
fn: this.getAnalysisOfTransplantYieldInVariousRegions,
|
|
fn: this.getAnalysisOfTransplantYieldInVariousRegions,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- time: 1000 * 10,
|
|
|
|
|
|
+ time: 1000 * 5,
|
|
fn: this.getTransplantAreaInEachRegion,
|
|
fn: this.getTransplantAreaInEachRegion,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- time: 1000 * 10,
|
|
|
|
|
|
+ time: 1000 * 5,
|
|
fn: this.getAnalysisOfTransplantingSituation,
|
|
fn: this.getAnalysisOfTransplantingSituation,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -293,9 +293,7 @@ export default {
|
|
},
|
|
},
|
|
async getJSON() {
|
|
async getJSON() {
|
|
console.log(`获取JSOn`)
|
|
console.log(`获取JSOn`)
|
|
- this.getJson = await this.$http.get(
|
|
|
|
- `/datav/areas_v3/bound/geojson?code=520600_full`
|
|
|
|
- )
|
|
|
|
|
|
+ this.getJson = await this.$http.get(`/api/mapOfTongren`)
|
|
this.hasGetJson = true
|
|
this.hasGetJson = true
|
|
},
|
|
},
|
|
},
|
|
},
|