修改收货地址管理

This commit is contained in:
luofei 2024-05-13 10:52:22 +08:00
parent c02f537db5
commit 90f6534fce

View File

@ -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;