From 9df51b4476fd1325e4b2221b7330b651813132fb Mon Sep 17 00:00:00 2001 From: lf <1534621107@qq.com> Date: Wed, 24 Jul 2024 09:46:25 +0800 Subject: [PATCH] alert --- reduce.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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",