uniapp-提交订单时取消订单,提示错误
uniapp-购物车编辑数量后未更新数量统计 uniapp-token失效未进行重新登录 uniapp-查看物流-点标识太大 造成部分物流信息被遮挡
This commit is contained in:
@ -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)
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user