From ac96aaefae59044970a79300c5ccc67d43370514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Sun, 8 Oct 2023 14:02:33 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=8E=A5=E5=8F=A3=E7=9C=8B=E6=9D=BF+s?= =?UTF-8?q?tore+job=E3=80=91=E8=87=AA=E5=8A=A8=E7=99=BB=E5=BD=95=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E5=90=8E=E9=80=80=E7=99=BB=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PC/InterFace.Dash/src/permission.js | 5 +++-- PC/UI.WinIn.FasterZ.Job/src/permission.js | 5 +++-- PC/UI.WinIn.FasterZ.Store/src/permission.js | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/PC/InterFace.Dash/src/permission.js b/PC/InterFace.Dash/src/permission.js index 1b4b51d..640cce0 100644 --- a/PC/InterFace.Dash/src/permission.js +++ b/PC/InterFace.Dash/src/permission.js @@ -92,7 +92,8 @@ const toNextHandle = async (to, from, next) => { username:_username, password:localStorage.getItem("configLoginPass") }).catch(()=>{ - getErrHandle(to, from, next) + logoutHandle() + // getErrHandle(to, from, next) }) } @@ -181,7 +182,7 @@ router.beforeEach(async (to, from, next) => { }) .catch(()=>{ // toNextHandle(to, from, next) - Message.error(loginErr) + // Message.error(loginErr) pageToLogin(to, from, next) }) }else{ diff --git a/PC/UI.WinIn.FasterZ.Job/src/permission.js b/PC/UI.WinIn.FasterZ.Job/src/permission.js index 1b4b51d..640cce0 100644 --- a/PC/UI.WinIn.FasterZ.Job/src/permission.js +++ b/PC/UI.WinIn.FasterZ.Job/src/permission.js @@ -92,7 +92,8 @@ const toNextHandle = async (to, from, next) => { username:_username, password:localStorage.getItem("configLoginPass") }).catch(()=>{ - getErrHandle(to, from, next) + logoutHandle() + // getErrHandle(to, from, next) }) } @@ -181,7 +182,7 @@ router.beforeEach(async (to, from, next) => { }) .catch(()=>{ // toNextHandle(to, from, next) - Message.error(loginErr) + // Message.error(loginErr) pageToLogin(to, from, next) }) }else{ diff --git a/PC/UI.WinIn.FasterZ.Store/src/permission.js b/PC/UI.WinIn.FasterZ.Store/src/permission.js index 1b4b51d..640cce0 100644 --- a/PC/UI.WinIn.FasterZ.Store/src/permission.js +++ b/PC/UI.WinIn.FasterZ.Store/src/permission.js @@ -92,7 +92,8 @@ const toNextHandle = async (to, from, next) => { username:_username, password:localStorage.getItem("configLoginPass") }).catch(()=>{ - getErrHandle(to, from, next) + logoutHandle() + // getErrHandle(to, from, next) }) } @@ -181,7 +182,7 @@ router.beforeEach(async (to, from, next) => { }) .catch(()=>{ // toNextHandle(to, from, next) - Message.error(loginErr) + // Message.error(loginErr) pageToLogin(to, from, next) }) }else{