diff --git a/PC/InterFace.Dash/src/permission.js b/PC/InterFace.Dash/src/permission.js index 9f995ce..04e4b43 100644 --- a/PC/InterFace.Dash/src/permission.js +++ b/PC/InterFace.Dash/src/permission.js @@ -73,15 +73,16 @@ router.beforeEach(async (to, from, next) => { await store.dispatch('user/getUserInfo',_username).then(()=>{ console.log("-------用户信息获取成功-------") localStorage.setItem('alreadyTryLogin',true) - next({ - ...to, - query:{ - loginName:to.query.loginName, - isAutoLogin:to.query.isAutoLogin, - isSinglePage:to.query.isSinglePage - }, - replace: true - }) + next(to) + // next({ + // ...to, + // query:{ + // loginName:to.query.loginName, + // isAutoLogin:to.query.isAutoLogin, + // isSinglePage:to.query.isSinglePage + // }, + // replace: true + // }) }).catch(()=>{ localStorage.setItem('alreadyTryLogin',true) next() diff --git a/PC/UI.WinIn.FasterZ.Job/src/permission.js b/PC/UI.WinIn.FasterZ.Job/src/permission.js index 9f995ce..04e4b43 100644 --- a/PC/UI.WinIn.FasterZ.Job/src/permission.js +++ b/PC/UI.WinIn.FasterZ.Job/src/permission.js @@ -73,15 +73,16 @@ router.beforeEach(async (to, from, next) => { await store.dispatch('user/getUserInfo',_username).then(()=>{ console.log("-------用户信息获取成功-------") localStorage.setItem('alreadyTryLogin',true) - next({ - ...to, - query:{ - loginName:to.query.loginName, - isAutoLogin:to.query.isAutoLogin, - isSinglePage:to.query.isSinglePage - }, - replace: true - }) + next(to) + // next({ + // ...to, + // query:{ + // loginName:to.query.loginName, + // isAutoLogin:to.query.isAutoLogin, + // isSinglePage:to.query.isSinglePage + // }, + // replace: true + // }) }).catch(()=>{ localStorage.setItem('alreadyTryLogin',true) next() diff --git a/PC/UI.WinIn.FasterZ.Store/src/permission.js b/PC/UI.WinIn.FasterZ.Store/src/permission.js index 9f995ce..04e4b43 100644 --- a/PC/UI.WinIn.FasterZ.Store/src/permission.js +++ b/PC/UI.WinIn.FasterZ.Store/src/permission.js @@ -73,15 +73,16 @@ router.beforeEach(async (to, from, next) => { await store.dispatch('user/getUserInfo',_username).then(()=>{ console.log("-------用户信息获取成功-------") localStorage.setItem('alreadyTryLogin',true) - next({ - ...to, - query:{ - loginName:to.query.loginName, - isAutoLogin:to.query.isAutoLogin, - isSinglePage:to.query.isSinglePage - }, - replace: true - }) + next(to) + // next({ + // ...to, + // query:{ + // loginName:to.query.loginName, + // isAutoLogin:to.query.isAutoLogin, + // isSinglePage:to.query.isSinglePage + // }, + // replace: true + // }) }).catch(()=>{ localStorage.setItem('alreadyTryLogin',true) next()