ccj 2 lat temu
rodzic
commit
312960130c
1 zmienionych plików z 3 dodań i 16 usunięć
  1. 3 16
      src/views/home/index.vue

+ 3 - 16
src/views/home/index.vue

@@ -274,22 +274,9 @@ import { formatTime } from './format.js'; //日期格式转换
         seachMoth: '2022'
         seachMoth: '2022'
       }).toPromise().then(res => {debugger
       }).toPromise().then(res => {debugger
         console.log('··············', res)
         console.log('··············', res)
-        this.configLeft1.data = [
-          {
-            name: '1玉米',
-            value: 120,
-          },
-          {
-            name: '白小麦',
-            value: 130,
-          },
-          {
-            name: '1混合麦',
-            value: 150,
-          }
-        ]
-        // this.configRight1.data = res[0].biViewInfoList
-        // this.configLeft1.data = res[1].biViewInfoList
+        
+        this.configRight1.data = res[0].biViewInfoList
+        this.configLeft1.data = res[1].biViewInfoList
          //获取实时时间
          //获取实时时间
         this.timeFn();
         this.timeFn();
         //中国地图
         //中国地图