...
|
...
|
@@ -86,7 +86,7 @@ var address = { |
|
|
delAddr: function(addrId) {
|
|
|
$.getJSON('/home/address/delAddress?id=' + addrId, function(jsonData) {
|
|
|
if (jsonData.code === 200) {
|
|
|
$('.address-list').find('li[addressId=' + addrId + ']').remove();
|
|
|
$('.address-list').find('li[addressId="' + addrId + '"]').remove();
|
|
|
if (addrId === $('#addrId').val()) {
|
|
|
address.clearAddrForm();
|
|
|
}
|
...
|
...
|
|