瀏覽代碼

修改首页地图

mxx 3 年之前
父節點
當前提交
a5484dfca0
共有 1 個文件被更改,包括 3 次插入1 次删除
  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