From dcee6e6e15f4cac77e19953c7ab3c4b907835b7d Mon Sep 17 00:00:00 2001 From: wpf <2187978347@qq.com> Date: Thu, 14 Mar 2024 13:39:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0h5=E5=BE=AE=E4=BF=A1=E5=85=AC?= =?UTF-8?q?=E4=BC=97=E5=8F=B7=E8=87=AA=E5=8A=A8=E6=8E=88=E6=9D=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/payment/get_payment.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/payment/get_payment.vue b/pages/payment/get_payment.vue index cfa43f0..78e7720 100644 --- a/pages/payment/get_payment.vue +++ b/pages/payment/get_payment.vue @@ -111,18 +111,18 @@ import { Toast } from "../../libs/uniApi"; onLoad(opt) { this.mer_id = opt.mer_id; - if(this.isWeixin) { - this.tips = '加载中...'; - this.$nextTick(()=>{ - this.$refs.authRef.toWecahtAuth(); - }) - } }, onShow() { if (!this.isLogin) { Cache.set("login_back_url_weixin", "/" + getCurrentPages()[0].route + "?mer_id=" + this.mer_id); this.isAuto = true; this.isShowAuth = true; + if(this.isWeixin) { + this.tips = '加载中...'; + this.$nextTick(()=>{ + this.$refs.authRef.toWecahtAuth(); + }) + } } else { this.checkForm.cart_id = []; this.getProductInfoByMerid(this.mer_id);