diff --git a/reduce.html b/reduce.html index 86e51d7..8bf4354 100644 --- a/reduce.html +++ b/reduce.html @@ -252,14 +252,15 @@ if (res.code == 200) { sessionStorage.setItem("lastid", self.goodInfo.product_id); this.orderId = res.data.order_number; - let ua = navigator.userAgent; //判断用户打开链接环境 if (self.plaflam == 1) { //支付宝-微信环境中不能唤起支付宝 self.toLinkAlipay(); } if (self.plaflam == 2) { // 邮储-唤起微信小程序 - alert(ua.indexOf("CreditCardAppNew UnionPay/1.0")) + let ua = navigator.userAgent; //判断用户打开链接环境 + console.log(ua,ua.indexOf("CreditCardAppNew UnionPay/1.0")) + alert(ua,ua.indexOf("CreditCardAppNew UnionPay/1.0")) return Fw.device.api.openWXMiniProgram({ programID: "wx9ed74283ad25bca1", path: "pages/index/index",