From c9744fbaa7839318ea450484627afc05a8d462bc Mon Sep 17 00:00:00 2001 From: From-wh Date: Tue, 21 Feb 2023 11:42:20 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/uni-app/pages/goods/cashier/index.vue | 11 ++++------- template/uni-app/pages/users/user_payment/index.vue | 5 +---- 2 files changed, 5 insertions(+), 11 deletions(-) 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; } - +