修改默认地址checked格式错误的问题;修改编辑地址不回显的问题

This commit is contained in:
Gao xiaosong
2020-12-05 18:42:46 +08:00
parent 30b462fe26
commit 87d0717f78
4 changed files with 11 additions and 7 deletions

View File

@ -107,14 +107,16 @@ export default {
},
watch: {
items(nextItem) {
console.log(nextItem);
this.province = nextItem;
},
defaultValue(next){
this.value=next
}
},
mounted() {
console.log(this);
if (this.defaultValue) {
this.value = this.defaultValue;
if (this.value) {
this.value = this.value;
}
this.province = this.items;
},