diff --git a/src/views/car/fence.vue b/src/views/car/fence.vue index 0c6c48b..f95f5a8 100644 --- a/src/views/car/fence.vue +++ b/src/views/car/fence.vue @@ -140,6 +140,8 @@ export default { 500 ) this.updateFences = data + + this.updateFences.fenceLocation = "" }, handleSelectionChange(val) { this.dis = val; @@ -213,13 +215,13 @@ export default { }) }, updateFence() { + this.updateFences.fenceLocation = "" this.updateFences.fenceLocation = this.mapAddr console.log(this.updateFences) updateFenceMapAddr(this.updateFences).then(res =>{ this.dialogVisible=false this.getFenceList() }) - this.updateFences.fenceLocation = "" }, //删除 deleteFence(id) {