From e8bedfa519646b58ed85b5d9569f73eb8d58d895 Mon Sep 17 00:00:00 2001 From: woody Date: Tue, 2 Sep 2025 16:15:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(pay):=20=E5=86=8D=E5=88=86=E4=BA=AB?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=E7=82=B9=E5=87=BB=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E8=B5=B0=E8=87=AA=E5=8A=A8=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pay/success.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pages/pay/success.vue b/pages/pay/success.vue index a69228b..e61d9ce 100644 --- a/pages/pay/success.vue +++ b/pages/pay/success.vue @@ -79,6 +79,7 @@ export default { isRecharge: undefined, payStatus: 0, isSharePay: false, + memberData: {}, } }, computed: { @@ -96,7 +97,6 @@ export default { onLoad(options) { // 获取传递的参数 const extParam = JSON.parse(atob(options.extParam || '{}')) - console.log(extParam, '..extParam') this.specialArea = extParam.specialArea this.isRecharge = extParam.isRecharge this.orderCode = extParam.orderCode || '' @@ -120,6 +120,7 @@ export default { registerInfo(this.orderCode).then(res => { if (res.data) { uni.hideLoading() + this.memberData = res.data this.$refs.successDialog.showSuccess(res.data) } else { getRegisterInfoTimeoutFlag = setTimeout(() => { @@ -182,6 +183,10 @@ export default { // 返回首页 goToHome() { + if (this.isSharePay) { + this.getTempToken(this.memberData) + return + } uni.switchTab({ url: '/pages/index/index', })