From 08d50400d231165e13cda9d43b1489db9afc99a8 Mon Sep 17 00:00:00 2001 From: ZhiShuo_Lou <13209945+zhishuo-lou@user.noreply.gitee.com> Date: Thu, 23 Nov 2023 10:53:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=BC=96=E8=BE=91=E5=9B=B4?= =?UTF-8?q?=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/car/fence.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/car/fence.vue b/src/views/car/fence.vue index 063a1db..0c6c48b 100644 --- a/src/views/car/fence.vue +++ b/src/views/car/fence.vue @@ -134,7 +134,6 @@ export default { methods: { updialog(data) { - this.updateFences.fenceLocation="" this.dialogVisible=true setTimeout(() => { this.initMap();}, @@ -214,14 +213,13 @@ export default { }) }, updateFence() { - this.updateFences.fenceLocation = "" - this.updateFences.fenceLocation = this.mapAddr + this.updateFences.fenceLocation = this.mapAddr console.log(this.updateFences) updateFenceMapAddr(this.updateFences).then(res =>{ - this.dialogVisible=false - this.$router.push("/car/fence") + this.getFenceList() }) + this.updateFences.fenceLocation = "" }, //删除 deleteFence(id) {