Browse Source

修改首页地图

mxx 3 năm trước cách đây
mục cha
commit
a5484dfca0
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/views/home/index.vue

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

@@ -360,7 +360,9 @@
       //    }, 2000);
       //获取新闻列表
       // this.getNewList()
-      gChartsData().toPromise().then(res => {
+      gChartsData({
+        compId:localStorage.getItem('ws-pf_compId')
+      }).toPromise().then(res => {
         console.log(res)
         this.chartsData = res
         this.carCount1 = res[6].biViewInfoList[0].count