Ver Fonte

Merge branch 'dev' of http://gogs.gzzzyd.com/xiaowenhua/vueDataV into dev

wll8 há 5 meses atrás
pai
commit
7a6eb26af5
2 ficheiros alterados com 11 adições e 0 exclusões
  1. 1 0
      src/components/Customize/map/index.vue
  2. 10 0
      src/views/page1/index.vue

Diff do ficheiro suprimidas por serem muito extensas
+ 1 - 0
src/components/Customize/map/index.vue


+ 10 - 0
src/views/page1/index.vue

@@ -57,6 +57,7 @@
       :dataArray="trendDataArray"
     />
     <threeMap
+      @toView="toView"
       class="animated zoomIn"
       style="
         position: absolute;
@@ -177,6 +178,15 @@ export default {
   },
   mounted() {},
   methods: {
+    toView(data) {
+      console.log(data)
+      this.$router.push({
+        path: `/page3`,
+        query: {
+          id: data,
+        },
+      })
+    },
     tabChange(val) {
       if (val === 0) {
         this.$router.push(`/page1`)

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff