From c845d9c92b36ac00588f8d4a550b8768168056b5 Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Mon, 17 Apr 2023 11:37:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E8=AF=9D=E8=B4=B9?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=A1=B5=E9=9D=A2=E6=B2=A1=E6=9C=89=E9=87=8D?= =?UTF-8?q?=E5=AE=9A=E5=90=91=E5=BE=AE=E4=BF=A1url=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/card-info/index.vue | 4 ++-- src/views/package-buy/index.vue | 14 ++++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/views/card-info/index.vue b/src/views/card-info/index.vue index 13c6508..b92fe0c 100644 --- a/src/views/card-info/index.vue +++ b/src/views/card-info/index.vue @@ -1,7 +1,7 @@ @@ -148,7 +148,7 @@ export default { let commonUrl = process.env.VUE_APP_BASE_API; let redUrl = encodeURIComponent(`${commonUrl}/h5-frontendweb/#/cardInfo?imei=${params.imei}&iccid=${params.iccid}`); let url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${AppId}&redirect_uri=${redUrl}&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect`; - //window.location.href = url; + window.location.href = url; }, // 根据code获取openId getOpenId(code) { diff --git a/src/views/package-buy/index.vue b/src/views/package-buy/index.vue index e3b9b5b..3feba7e 100644 --- a/src/views/package-buy/index.vue +++ b/src/views/package-buy/index.vue @@ -1,16 +1,16 @@