liuhj 4 months ago
parent
commit
7930ae4815
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/components/statistics/Statistically.vue

+ 3 - 3
src/components/statistics/Statistically.vue

@@ -609,7 +609,7 @@ export default {
             // oScript.type = 'text/javascript';
             // oScript.src = 'https://cdn.apple-mapkit.com/mk/5.x.x/mapkit.core.js';
             // document.body.appendChild(oScript);
-            this.onlinemap();
+            // this.onlinemap();
         },
         async displayPlaceDetail() {
             const placeId = "I63802885C8189B2B"; // 替换为你的Place ID
@@ -626,7 +626,7 @@ export default {
             });
         },
         //在线地图
-        onlinemap(){
+        async onlinemap(){
             // var token="eyJraWQiOiI1NEIyRkFLODMzIiwidHlwIjoiSldUIiwiYWxnIjoiRVMyNTYifQ.eyJpc3MiOiJIS0YzNzJKU01LIiwiaWF0IjoxNzMzMTkxMzI2LCJvcmlnaW4iOiJvYS5wYW4tYW1lcmljYW4taW50bC5jb20ifQ.1czYQb-Nxh6n4kG9sVylQH32XawN92gBKXjn6i_SU0F2M9fpwbStM-gDRvfANEiEUDz5ogUmm_FQf9eBF8o9Zg";
             // mapkit.init({
             //     authorization: token, // 使用获取到的token
@@ -1445,7 +1445,7 @@ export default {
     },
     mounted(){
         this.StatisticsYOY();
-        this.displayPlaceDetail();
+        this.onlinemap();
         // this.countrieschange(this.value);
         // this.StatisticsOP(1);
         // this.StatisticsAirTicket();