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: {
       rlt() {
+        let that = this
         getRlt().then(resp => {
-          this.$refs.bigdataSupermap.loadHeatMap(resp.data)
+          setTimeout(() => {
+            //事件分布
+            that.$refs.bigdataSupermap.loadHeatMap(resp.data)
+          }, 5000)
         })
       }
     },