Commit 0d6a108d authored by xinzhedeai's avatar xinzhedeai

fix: 超时跳转华远大屏登录也

parent f5771cd3
File added
...@@ -82,7 +82,8 @@ service.interceptors.response.use(res => { ...@@ -82,7 +82,8 @@ service.interceptors.response.use(res => {
MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { confirmButtonText: '重新登录', cancelButtonText: '取消', type: 'warning' }).then(() => { MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { confirmButtonText: '重新登录', cancelButtonText: '取消', type: 'warning' }).then(() => {
isRelogin.show = false; isRelogin.show = false;
store.dispatch('LogOut').then(() => { store.dispatch('LogOut').then(() => {
location.href = '/index'; // location.href = '/index';
location.href = 'http://yj.hylgzl.com/login'; // 山西华远大屏
}) })
}).catch(() => { }).catch(() => {
isRelogin.show = false; isRelogin.show = false;
......
...@@ -82,7 +82,8 @@ service.interceptors.response.use(res => { ...@@ -82,7 +82,8 @@ service.interceptors.response.use(res => {
MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { confirmButtonText: '重新登录', cancelButtonText: '取消', type: 'warning' }).then(() => { MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { confirmButtonText: '重新登录', cancelButtonText: '取消', type: 'warning' }).then(() => {
isRelogin.show = false; isRelogin.show = false;
store.dispatch('LogOut').then(() => { store.dispatch('LogOut').then(() => {
location.href = '/index'; // location.href = '/index';
location.href = 'http://yj.hylgzl.com/login'; // 山西华远大屏
}) })
}).catch(() => { }).catch(() => {
isRelogin.show = false; isRelogin.show = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment