diff --git a/pages/users/user_address/index.vue b/pages/users/user_address/index.vue index c8f43ab..6c889d7 100644 --- a/pages/users/user_address/index.vue +++ b/pages/users/user_address/index.vue @@ -311,6 +311,7 @@ ]; that.$set(that, 'userAddress', res.data); that.$set(that, 'region', region); + that.$set(that, 'location', res.data.location); that.city_id = res.data.city_id if (res.data.areas) that.addressInfo = res.data.areas; else { @@ -467,7 +468,7 @@ title: '请填写详细地址' }); if (!value.location) return that.$util.Tips({ - title: '请填写详细地址' + title: '请选择地址' }); value.address_id = that.address_id; value.is_default = that.userAddress.is_default ? 1 : 0;