diff --git a/PC/InterFace.Dash/src/permission.js b/PC/InterFace.Dash/src/permission.js index 472309d..4834b3e 100644 --- a/PC/InterFace.Dash/src/permission.js +++ b/PC/InterFace.Dash/src/permission.js @@ -88,7 +88,7 @@ router.beforeEach(async (to, from, next) => { // next(`/login?loginName=${to.query.loginName}&isAutoLogin=${to.query.isAutoLogin}`) // next(`/login`) localStorage.removeItem("isLoginName") - Message.error('获取用户信息失败,请重试!') + // Message.error('获取用户信息失败,请重试!') }) // }) // .catch((error) => { diff --git a/PC/InterFace.Dash/src/store/modules/user.js b/PC/InterFace.Dash/src/store/modules/user.js index b5af24b..199acfa 100644 --- a/PC/InterFace.Dash/src/store/modules/user.js +++ b/PC/InterFace.Dash/src/store/modules/user.js @@ -136,7 +136,7 @@ const actions = { } }) .catch(err => { - reject(error) + reject(err) console.log('获取用户信息失败,请重试') }) }) diff --git a/PC/UI.WinIn.FasterZ.Store/src/permission.js b/PC/UI.WinIn.FasterZ.Store/src/permission.js index 472309d..4834b3e 100644 --- a/PC/UI.WinIn.FasterZ.Store/src/permission.js +++ b/PC/UI.WinIn.FasterZ.Store/src/permission.js @@ -88,7 +88,7 @@ router.beforeEach(async (to, from, next) => { // next(`/login?loginName=${to.query.loginName}&isAutoLogin=${to.query.isAutoLogin}`) // next(`/login`) localStorage.removeItem("isLoginName") - Message.error('获取用户信息失败,请重试!') + // Message.error('获取用户信息失败,请重试!') }) // }) // .catch((error) => { diff --git a/PC/UI.WinIn.FasterZ.Store/src/store/modules/user.js b/PC/UI.WinIn.FasterZ.Store/src/store/modules/user.js index b5af24b..199acfa 100644 --- a/PC/UI.WinIn.FasterZ.Store/src/store/modules/user.js +++ b/PC/UI.WinIn.FasterZ.Store/src/store/modules/user.js @@ -136,7 +136,7 @@ const actions = { } }) .catch(err => { - reject(error) + reject(err) console.log('获取用户信息失败,请重试') }) })