diff --git a/template/uni-app/pages/goods/cashier/index.vue b/template/uni-app/pages/goods/cashier/index.vue index e4677e931..ca1e16d35 100644 --- a/template/uni-app/pages/goods/cashier/index.vue +++ b/template/uni-app/pages/goods/cashier/index.vue @@ -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 @@ } } - + diff --git a/template/uni-app/pages/users/user_payment/index.vue b/template/uni-app/pages/users/user_payment/index.vue index 80b8842bc..858b30a8a 100644 --- a/template/uni-app/pages/users/user_payment/index.vue +++ b/template/uni-app/pages/users/user_payment/index.vue @@ -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; } - +