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