uniapp-提交订单时取消订单,提示错误

uniapp-购物车编辑数量后未更新数量统计
uniapp-token失效未进行重新登录
uniapp-查看物流-点标识太大 造成部分物流信息被遮挡
This commit is contained in:
Gao xiaosong
2020-05-06 17:33:13 +08:00
parent 9ae2a1d223
commit 3a72a23bbe
10 changed files with 912 additions and 839 deletions

View File

@ -39,7 +39,9 @@ export const weappPay = (option) => {
},
fail: (error) => {
console.log(error)
uni.showToast({ title: JSON.stringify(error), icon: 'none', duration: 5000 });
if (error.errMsg == 'requestPayment:fail cancel') {
uni.showToast({ title: '已取消支付', icon: 'none', duration: 5000 });
}
reject(error)
}
})