|
|
|
@ -383,13 +383,13 @@ export default { |
|
|
|
} else { |
|
|
|
wx.showToast({ |
|
|
|
title: res.message, |
|
|
|
image: '../../../static/error.png' |
|
|
|
icon: 'error' |
|
|
|
}); |
|
|
|
} |
|
|
|
} else { |
|
|
|
wx.showToast({ |
|
|
|
title: '获取信息失败', |
|
|
|
image: '../../../static/error.png' |
|
|
|
icon: 'error' |
|
|
|
}); |
|
|
|
} |
|
|
|
uni.hideLoading(); |
|
|
|
@ -436,7 +436,7 @@ export default { |
|
|
|
} else { |
|
|
|
wx.showToast({ |
|
|
|
title: '新增收货地址失败', |
|
|
|
image: '../../../static/error.png', |
|
|
|
icon: 'error', |
|
|
|
complete: err => { |
|
|
|
setTimeout(() => { |
|
|
|
wx.navigateBack(); |
|
|
|
@ -447,7 +447,7 @@ export default { |
|
|
|
} else { |
|
|
|
wx.showToast({ |
|
|
|
title: '请求错误', |
|
|
|
image: '../../../static/error.png', |
|
|
|
icon: 'error', |
|
|
|
complete: err => { |
|
|
|
setTimeout(() => { |
|
|
|
wx.navigateBack(); |
|
|
|
@ -506,7 +506,7 @@ export default { |
|
|
|
} else { |
|
|
|
wx.showToast({ |
|
|
|
title: '修改收货地址失败', |
|
|
|
image: '../../../static/error.png', |
|
|
|
icon: 'error', |
|
|
|
complete: err => { |
|
|
|
setTimeout(() => { |
|
|
|
wx.navigateBack(); |
|
|
|
@ -552,7 +552,7 @@ export default { |
|
|
|
} else { |
|
|
|
wx.showToast({ |
|
|
|
title: '删除收货地址失败', |
|
|
|
image: '../../../static/error.png', |
|
|
|
icon: 'error', |
|
|
|
complete: err => { |
|
|
|
setTimeout(() => { |
|
|
|
wx.navigateBack(); |
|
|
|
@ -563,7 +563,7 @@ export default { |
|
|
|
} else { |
|
|
|
wx.showToast({ |
|
|
|
title: '请求错误', |
|
|
|
image: '../../../static/error.png', |
|
|
|
icon: 'error', |
|
|
|
complete: err => { |
|
|
|
setTimeout(() => { |
|
|
|
wx.navigateBack(); |
|
|
|
|