Browse Source

feat: 添加地图动画

wll8 5 months ago
parent
commit
4219c3ae43
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/page1/index.vue

+ 2 - 1
src/views/page1/index.vue

@@ -56,6 +56,7 @@
       :dataArray.sync="trendDataArray"
       :dataArray.sync="trendDataArray"
     />
     />
     <threeMap
     <threeMap
+      class="animated zoomIn"
       style="
       style="
         position: absolute;
         position: absolute;
         top: 50%;
         top: 50%;
@@ -135,6 +136,7 @@ export default {
   },
   },
   computed: {},
   computed: {},
   created() {
   created() {
+    this.getJSON()
     this.$util.autoVueFn(
     this.$util.autoVueFn(
       [
       [
         {
         {
@@ -169,7 +171,6 @@ export default {
         },
         },
       }
       }
     )
     )
-    this.getJSON()
     // this.$http.get(`https://httpbin.org/get`)
     // this.$http.get(`https://httpbin.org/get`)
   },
   },
   mounted() {},
   mounted() {},