From 1db9f4a526bb454f39192ca18896d029d55acb5e Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 15 Aug 2022 11:35:47 +0800
Subject: [PATCH] 修复添加地块后,不能再次添加的问题

---
 src/views/land/landAdd.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/land/landAdd.vue b/src/views/land/landAdd.vue
index e6afca1..9ee0de4 100644
--- a/src/views/land/landAdd.vue
+++ b/src/views/land/landAdd.vue
@@ -122,7 +122,7 @@
         },
         //初始化
         init () {
-            console.log(22222222222222)
+            // console.log(22222222222222)
             //清空面的数据
             this.$store.commit('clear_polygon')
             //计算当前时间
@@ -130,7 +130,7 @@
             this.form.farmId = this.$farmId
         },
         // 表单提交
-        submit (row, loading) {
+        submit (row, done) {
             row['deptId'] = this.userInfo.dept_id
             // row.farmId = this.farm.id
             var that = this
@@ -163,7 +163,7 @@
                 })
                 done()
             }, error => {
-                loading()
+                // loading()
                 window.console.log(error)
             })
         },

--
Gitblit v1.9.3