From e89236fe9148c5f2ce97d1d103d8c2e671661cbe Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Sat, 15 Oct 2022 11:49:27 +0800
Subject: [PATCH] 修复当拍照为不启用时,处理任务还是能上传图片

---
 src/views/mapPattern/index.vue |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/views/mapPattern/index.vue b/src/views/mapPattern/index.vue
index a76b24d..71c43e8 100644
--- a/src/views/mapPattern/index.vue
+++ b/src/views/mapPattern/index.vue
@@ -290,7 +290,6 @@
                         arr.forEach(it => {
                             brr.push(it.split(' '))
                         })
-
                         this.$refs.plotMap.addPlotPolygon(brr, item)
                     }
                 })
@@ -303,6 +302,7 @@
         },
         //返回上一页
         goToBack () {
+            this.$EventBus.$emit("getFarmObj", this.farmInfo);
             this.$router.go(-1)
         },
         //获取农场信息
@@ -321,7 +321,6 @@
         //获取地块轮廓统计信息
         getLandIsAreaStatistic () {
             getLandIsAreaStatistic(this.$farmId).then(res => {
-                console.log(res)
                 this.landIsAreaStatistic = res.data.data
             })
         },
@@ -355,7 +354,6 @@
             }
 
             if (this.$refs.showCP) {
-                console.log(1)
                 let isSelf = this.$refs.showCP.contains(e.target)
                 if (!isSelf) {
                     this.plotClickNum = 0

--
Gitblit v1.9.3