|
@@ -60,8 +60,9 @@ service.interceptors.response.use(
|
|
|
|
|
|
// 401:未登录;
|
|
|
if (res.code === 401 || res.code === 403) {
|
|
|
- console.log('401/403')
|
|
|
+
|
|
|
location = window.location.origin;
|
|
|
+ console.log('401/403',location)
|
|
|
|
|
|
// MessageBox.confirm('登录过期请重新登录', '确定登出', {
|
|
|
// confirmButtonText: '重新登录',
|