bug
This commit is contained in:
@@ -27,16 +27,6 @@
|
||||
<u-icon name="arrow-right" color="#cccccc" size="14"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<span class="label"><span class="tips">*</span>地区</span>
|
||||
<div class="value">
|
||||
<AiAreaPicker :areaId="user.areaId" v-model="userInfo.areaId" :name.sync="userInfo.areaName" @select="areaSelect">
|
||||
<span class="label" v-if="userInfo.areaName">{{ userInfo.areaName }}</span>
|
||||
<span v-else class="color-999">请选择</span>
|
||||
<u-icon name="arrow-right" color="#cccccc" size="14"></u-icon>
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -60,7 +50,7 @@ export default {
|
||||
name: '',
|
||||
phone: '',
|
||||
type: '',
|
||||
isPublic: '',
|
||||
isPublic: '1',
|
||||
areaId: '',
|
||||
areaName: ''
|
||||
},
|
||||
@@ -110,9 +100,6 @@ export default {
|
||||
if(this.userInfo.isPublic === '') {
|
||||
return this.$u.toast('请选择是否公开')
|
||||
}
|
||||
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) {
|
||||
|
||||
@@ -39,7 +39,7 @@ export default {
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = "便民通讯录"
|
||||
document.title = "通讯录"
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user