panhui 5 лет назад
Родитель
Сommit
6b6dd2a8a1
1 измененных файлов с 2 добавлено и 8 удалено
  1. 2 8
      src/main/map/src/views/Heat3D.vue

+ 2 - 8
src/main/map/src/views/Heat3D.vue

@@ -36,12 +36,6 @@ export default {
                 this.heat.setData(this.heatData);
             }
         },
-        getData() {
-            axios.get('http://dingdong.izouma.com/merchant/heatMap', {
-                longitude: '118.734661',
-                latitude: '31.981746',
-            });
-        },
         initMap() {
             //初始化地图
             this.map = new TMap.Map('container', {
@@ -62,9 +56,9 @@ export default {
     },
 };
 </script>
-<style lang='less' scoped>
+<style lang="less" scoped>
 #container {
     width: 100vw;
     height: 100vh;
 }
-</style>
+</style>