更改编辑围栏
parent
34beab231d
commit
08d50400d2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue