ソースを参照

Merge branch 'dev' of http://gogs.gzzzyd.com/xiaowenhua/vueDataV into dev

wll8 5 ヶ月 前
コミット
80d59a85ac
1 ファイル変更5 行追加7 行削除
  1. 5 7
      src/views/page1/index.vue

+ 5 - 7
src/views/page1/index.vue

@@ -138,19 +138,19 @@ export default {
     this.$util.autoVueFn(
       [
         {
-          time: 1000 * 10,
+          time: 1000 * 5,
           fn: this.getWeatherForecast,
         },
         {
-          time: 1000 * 10,
+          time: 1000 * 5,
           fn: this.getAnalysisOfTransplantYieldInVariousRegions,
         },
         {
-          time: 1000 * 10,
+          time: 1000 * 5,
           fn: this.getTransplantAreaInEachRegion,
         },
         {
-          time: 1000 * 10,
+          time: 1000 * 5,
           fn: this.getAnalysisOfTransplantingSituation,
         },
         {
@@ -293,9 +293,7 @@ export default {
     },
     async getJSON() {
       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
     },
   },