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{