Pārlūkot izejas kodu

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

wll8 5 mēneši atpakaļ
vecāks
revīzija
7a6eb26af5
2 mainītis faili ar 11 papildinājumiem un 0 dzēšanām
  1. 1 0
      src/components/Customize/map/index.vue
  2. 10 0
      src/views/page1/index.vue

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 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`)

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels