diff --git a/src/api/unionAjax.js b/src/api/unionAjax.js
index 2b80270a..db21e48c 100644
--- a/src/api/unionAjax.js
+++ b/src/api/unionAjax.js
@@ -53,9 +53,11 @@ const formRequest=axios.create({
return res.data
}else{
if(code === 401){
- store.dispatch('LogOut').then(() => {
- location.href = this.webBaseUrl + ReLoginUrl;
- })
+ // store.dispatch('LogOut').then(() => {
+ // location.href = this.webBaseUrl + ReLoginUrl;
+ // })
+ console.error('',res.data);
+ return Promise.reject(new Error('接口返回未登录'))
}else if(code===403){
var msg='当前操作没有权限';
Message({message: msg, type: 'error'});
diff --git a/src/components/PortalHeader.vue b/src/components/PortalHeader.vue
index 445bb86b..2a770c2e 100644
--- a/src/components/PortalHeader.vue
+++ b/src/components/PortalHeader.vue
@@ -91,7 +91,7 @@