@@ -336,11 +336,12 @@
url: '/pages_user/user/storeOrderDetail?id=' + that.order.id
});
}else{
- clearInterval(that.checkTimer);
-
- uni.navigateTo({
- url: '/pages_user/user/storeOrderDetail?id=' + that.order.id
- });
+ setTimeout(()=>{
+ clearInterval(that.checkTimer);
+ uni.navigateTo({
+ url: '/pages_user/user/storeOrderDetail?id=' + that.order.id
+ });
+ },10000)
}
@@ -158,10 +158,12 @@
clearInterval(that.checkTimer);
@@ -129,7 +129,7 @@
checkpayment(data).then(res => {
if (res.code == 200) {
console.log(res)
- if (res.status == 3) {
+ if (res.status == 1) {
// 跳转前清除定时器
uni.navigateTo({
@@ -142,7 +142,7 @@
icon:'none',
title: "用户未支付",
- },500)