From 28c3a38ed326968035ecbec033ea848df53035df Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Thu, 14 Apr 2022 14:59:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=85=AC=E5=BC=80=E6=90=9C=E7=B4=A2=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=20=E5=A4=96=E9=83=A8=E8=AE=BF=E9=97=AE=20=3F=20and=20?= =?UTF-8?q?&?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 5f84d4ddd..3ed96e7dc 100644 --- a/src/main.js +++ b/src/main.js @@ -189,7 +189,7 @@ router.beforeEach(function (to, from, next) { if (taskId !== undefined && taskId !== null && prcId !== undefined && prcId !== null) { extractedVerify(token) }else { - if((fromName === undefined || fromName === null) && path.indexOf("/standardSearch/All&userName") !== -1){ + if((fromName === undefined || fromName === null) && (path.indexOf("/standardSearch/All&userName") !== -1 || path.indexOf("/standardSearch/All?userName") !== -1)){ extractedLocalStorage("standardSearch/All",userName) localStorage.setItem('external', "external") next('/LoginVerifyNoEncryption') @@ -388,7 +388,7 @@ router.beforeEach(function (to, from, next) { next() } }else { - if((fromName === undefined || fromName === null) && path.indexOf("/standardSearch/All&userName") !== -1) { + if((fromName === undefined || fromName === null) && (path.indexOf("/standardSearch/All&userName") !== -1 || path.indexOf("/standardSearch/All?userName") !== -1)) { extractedLocalStorage("standardSearch/All",userName) localStorage.setItem('external', "external") next('/LoginVerifyNoEncryption') From 7914948c5132484c7af11542e593735b2a1d26b0 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Thu, 14 Apr 2022 15:02:41 +0800 Subject: [PATCH 2/2] feat: There is no way the, bug #52583 --- src/pages/details/otherLawsStandDetails/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/details/otherLawsStandDetails/index.vue b/src/pages/details/otherLawsStandDetails/index.vue index 4c3b9b96d..b83f9b801 100644 --- a/src/pages/details/otherLawsStandDetails/index.vue +++ b/src/pages/details/otherLawsStandDetails/index.vue @@ -1679,6 +1679,8 @@ export default { } }) window.open(routeUrl.href, '_blank') + }else { + this.$message.error('政策号已不存在!') } }, e => { })