视频监控
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user