From f897506e86a8667e18e0080bc2ea1f54f9a0f0fe Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Fri, 12 Sep 2025 11:14:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E5=90=8D=E8=AE=A4=E8=AF=81=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/rvDriverAuthentication/personAudit.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/rvDriverAuthentication/personAudit.vue b/src/views/rvDriverAuthentication/personAudit.vue index 3858121b..bf48ccbc 100644 --- a/src/views/rvDriverAuthentication/personAudit.vue +++ b/src/views/rvDriverAuthentication/personAudit.vue @@ -108,10 +108,16 @@ } const urlParams = new URLSearchParams(window.location.search); console.log('window.location',window.location) - console.log("urlParams",urlParams) + // console.log("urlParams",urlParams) // console.log("decodeURIComponent( window.location.href)",decodeURIComponent( window.location.href)) - // decodeURIComponent( window.location.href) this.esignFlag = urlParams.get('esignFlag') || localStorage.getItem("esignFlag") + if(window.location.search){ + console.log('有参数') + this.esignFlag = localStorage.getItem("esignFlag") || urlParams.get('esignFlag') + }else { + console.log('无参数,说明认证成功') + this.esignFlag =true + } localStorage.setItem("esignFlag",this.esignFlag ) console.log("this.esignFlag ",this.esignFlag ) },