更改编辑围栏2

master
ZhiShuo_Lou 2023-11-23 11:29:41 +08:00
parent 08d50400d2
commit bd7ff2e6d1
1 changed files with 3 additions and 1 deletions

View File

@ -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) {