视频监控

This commit is contained in:
liuye
2021-12-21 17:08:53 +08:00
parent 4d8111848b
commit 3084896c44
8 changed files with 125 additions and 9 deletions

View File

@@ -64,6 +64,7 @@ export default {
areaName: ''
},
showSelect: false,
flag: true
}
},
computed: { ...mapState(['user']) },
@@ -107,8 +108,10 @@ export default {
if(!this.userInfo.areaId) {
return this.$u.toast('请选择地区')
}
if(!this.flag) return
this.$http.post(`/app/appconvenientaddressbook/addOrUpdate`, this.userInfo).then(res => {
if (res.code == 0) {
this.flag = false
this.$u.toast('提交成功')
setTimeout(() => {
uni.navigateBack()