@ -192,6 +192,9 @@
content: '确定移除该商品吗?',
success: result => {
if(result.confirm){
uni.showLoading({
title: '正在删除'
})
this.$http.ajax({
api: 'api/shopping/cart/'+ __raw_id,
method: 'DELETE',
@ -209,7 +212,8 @@
}else{
this.$msg('删除失败', {icon: 'error'});
}
uni.hideLoading();
}).catch(err => uni.hideLoading())