From 62a4041e1eb74ecbe82bd1b0577fe12d5ff862cf Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Mon, 3 Apr 2023 11:11:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20params=20reqUrl=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E8=8E=B7=E5=8F=96=E9=94=99=E8=AF=AF=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/package-home/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/package-home/index.vue b/src/views/package-home/index.vue index 349aece..5adc03a 100644 --- a/src/views/package-home/index.vue +++ b/src/views/package-home/index.vue @@ -1,7 +1,7 @@ @@ -135,10 +135,10 @@ export default { console.log("params", params); this.params = {...params}; this.$store.commit("appId", params.appId); - if(params.redUrl) { - const redUrl = encodeURI(params.redUrl); - console.log("redUrl", params.redUrl, redUrl); - window.location.href = redUrl; + if(params.reqUrl) { + const reqUrl = encodeURI(params.reqUrl); + console.log("reqUrl", params.reqUrl, reqUrl); + window.location.href = reqUrl; } else { console.log("不存在redUrl"); this.checkBrowser();