From c247dc592525bf9f567eb6bf7981e6ded89a3273 Mon Sep 17 00:00:00 2001 From: chenJinxu <2183691628@qq.com> Date: Fri, 21 Jun 2024 17:37:43 +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=E5=9C=A8=E9=9D=9E=E5=BE=AE=E4=BF=A1=E6=B5=8F?= =?UTF-8?q?=E8=A7=88=E5=99=A8=E7=8E=AF=E5=A2=83=E8=B7=B3=E8=BD=AC=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/card-info/index.vue b/src/views/card-info/index.vue index 6c7c7db..a23c404 100644 --- a/src/views/card-info/index.vue +++ b/src/views/card-info/index.vue @@ -155,7 +155,7 @@ export default { if (params) { this.params = { ...params }; let url = window.location.href.split("?code=")[1]; - if (isNotNull(url) || window.location.href.indexOf("code") > -1) { + if (isNotNull(url) && window.location.href.indexOf("code") > -1 && this.isWeChat) { let timeStamp = new Date().getTime(); let code = url.split("&")[0]; this.code = code;