更改编辑围栏

master
ZhiShuo_Lou 2023-11-23 10:53:17 +08:00
parent 34beab231d
commit 08d50400d2
1 changed files with 3 additions and 5 deletions

View File

@ -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
console.log(this.updateFences)
updateFenceMapAddr(this.updateFences).then(res =>{
this.dialogVisible=false
this.$router.push("/car/fence")
this.getFenceList()
})
this.updateFences.fenceLocation = ""
},
//
deleteFence(id) {