improve: 跳转

This commit is contained in:
From-wh 2023-02-21 11:42:20 +08:00
parent 034fd4053d
commit c9744fbaa7
2 changed files with 5 additions and 11 deletions

View File

@ -505,15 +505,12 @@
case "WECHAT_H5_PAY":
uni.hideLoading();
that.$util.Tips({
title: that.$t(`订单创建成功`)
}, {
tab: 4,
uni.reLaunch({
url: goPages + '&status=0'
});
})
setTimeout(() => {
location.href = res.data.result.jsConfig.h5_url;
}, 2000);
}, 1000);
break;
case 'ALIPAY_PAY':
@ -763,4 +760,4 @@
}
}
</style>
</style>

View File

@ -404,9 +404,6 @@
case "WECHAT_H5_PAY":
uni.hideLoading();
that.$util.Tips({
title: that.$t(`订单创建成功`)
});
setTimeout(() => {
location.href = res.data.result.jsConfig.h5_url;
}, 2000);
@ -710,4 +707,4 @@
font-size: 24rpx;
color: #333;
}
</style>
</style>