From f3c1fee462027744014ae697d7b71dbe8d07add9 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 24 Oct 2022 11:49:50 +0800
Subject: [PATCH] 圈地打开页面移除表单验证;用户管理取消角色配置,平台配置,导入导出;修复删除用户后再添加新用户报错的问题

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

diff --git a/src/views/land/landAdd.vue b/src/views/land/landAdd.vue
index 9ce10ae..5cdfd6d 100644
--- a/src/views/land/landAdd.vue
+++ b/src/views/land/landAdd.vue
@@ -217,8 +217,13 @@
             this.$store.commit("clear_polygon")
             this.form.landArea = 0
             this.visible = true
-            this.form.farmId = this.$farmId
 
+            this.$nextTick(()=>{
+              this.$refs.form.clearValidate()
+            })
+            this.form.farmId = this.$farmId
+            this.form.landName = ""
+            this.form.landType = ""
             getDetail(this.form.farmId).then(res => {
                 this.farmInfo = res.data.data
                 this.url = this.drawMapUrlBase + "/base?type=1&lng=112&lat=24&status=manage&longitude=" + this.farmInfo.longitude + "&latitude=" + this.farmInfo.latitude

--
Gitblit v1.9.3