Authored by yyq

fix

... ... @@ -7,15 +7,11 @@ Component({
}
},
data: {
address: {
consignee: '',
mobile: '',
areaText: ''
}
address: {}
},
methods: {
_addressChange(address) {
if (address) {
if (address && address.area && address.address) {
const length = 45;
let areaText = `${address.area} ${address.address}`;
... ... @@ -24,6 +20,8 @@ Component({
}
address.areaText = areaText;
address.consignee = address.consignee || '';
address.mobile = address.mobile || '';
}
this.setData({address});
... ...