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);