From 00a2a8e080d0822529c8b09fc5029ac6519fda16 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 01 Jun 2022 18:14:43 +0800
Subject: [PATCH] 新增溯源码二维码下载

---
 src/views/farm/getMapDataInThere.vue |   16 ++++------------
 1 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/src/views/farm/getMapDataInThere.vue b/src/views/farm/getMapDataInThere.vue
index d1a0abf..e634ff1 100644
--- a/src/views/farm/getMapDataInThere.vue
+++ b/src/views/farm/getMapDataInThere.vue
@@ -20,14 +20,14 @@
 
 <script>
 import { mapGetters } from "vuex";
-import MapInThere from "@/components/map/mainInThere.vue";
+import MapInThere from "@/components/map/mainFarm.vue";
 export default {
   name: "getMapData",
   components: {
     MapInThere,
   },
   computed: {
-    ...mapGetters(["rotesData", "pointData", "polygons"]),
+    ...mapGetters(["rotesData", "pointData", "polygonsFarm"]),
   },
   watch: {
     ourDatas: {
@@ -39,7 +39,7 @@
       deep: true,
     },
     polygons() {
-      if (this.polygons.length > 0) {
+      if (this.polygonsFarm.length > 0) {
         this.isCheck = false;
       }
     },
@@ -50,10 +50,6 @@
       //动画效果
       animateName: "custom-classes-transition",
       animateEnter: "animated fadeIn",
-      animateLeave: "animated fadeOut",
-      //未输入动画效果
-      animateName: "custom-classes-transition",
-      animateEnter: "animated fadeInDown",
       animateLeave: "animated fadeOut",
       openTitle: "路径1",
       MapDataShow: false,
@@ -68,7 +64,7 @@
   },
   methods: {
     draw(usePolygons) {
-      this.$store.commit("setpolygon", usePolygons); //用vuex传最终数据
+      this.$store.commit("setpolygonsFarm", usePolygons); //用vuex传最终数据
       this.doThat(usePolygons)
     },
     doThat(val) {
@@ -323,10 +319,6 @@
 .list-enter-to,
 .list-leave {
   opacity: 1;
-}
-​ .list-enter-active,
-.list-leave-active {
-  transition: all 0.3s;
 }
 
 .notDatas {

--
Gitblit v1.9.3