Administrator 2 年之前
父節點
當前提交
c5f0c60f2c
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/views/bigdata/bigdata.vue

+ 5 - 1
src/views/bigdata/bigdata.vue

@@ -208,8 +208,12 @@
 
 
     methods: {
     methods: {
       rlt() {
       rlt() {
+        let that = this
         getRlt().then(resp => {
         getRlt().then(resp => {
-          this.$refs.bigdataSupermap.loadHeatMap(resp.data)
+          setTimeout(() => {
+            //事件分布
+            that.$refs.bigdataSupermap.loadHeatMap(resp.data)
+          }, 5000)
         })
         })
       }
       }
     },
     },