From 082613d446e29e4ec1c16bfaa52345106a498b23 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Tue, 08 Nov 2022 09:03:49 +0800
Subject: [PATCH] 农事操作隐藏后四个,地图模式2d改为3d
---
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