From 5f6e6af92bb4d467eba51e14db744df4a1408ded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Mon, 7 Aug 2023 16:01:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E9=97=AE=E9=A2=98=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PC/InterFace.Dash/src/permission.js | 2 +- PC/InterFace.Dash/src/store/modules/user.js | 2 +- PC/UI.WinIn.FasterZ.Store/src/permission.js | 2 +- PC/UI.WinIn.FasterZ.Store/src/store/modules/user.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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('获取用户信息失败,请重试') }) })