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