From afa8ee521affdce4f4cac9ba32ede9d22b76a13e Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Tue, 27 Sep 2022 09:54:30 +0800
Subject: [PATCH] 还原之前更改,用户登录跳转到统一登陆页面

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

diff --git a/src/views/mapPattern/index.vue b/src/views/mapPattern/index.vue
index a76b24d..7350218 100644
--- a/src/views/mapPattern/index.vue
+++ b/src/views/mapPattern/index.vue
@@ -303,6 +303,7 @@
         },
         //返回上一页
         goToBack () {
+            this.$EventBus.$emit("getFarmObj", this.farmInfo);
             this.$router.go(-1)
         },
         //获取农场信息
@@ -321,7 +322,6 @@
         //获取地块轮廓统计信息
         getLandIsAreaStatistic () {
             getLandIsAreaStatistic(this.$farmId).then(res => {
-                console.log(res)
                 this.landIsAreaStatistic = res.data.data
             })
         },
@@ -355,7 +355,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