|
@@ -77,7 +77,6 @@ service.interceptors.response.use(res => {
|
|
|
const code = res.data.code || 200;
|
|
|
// 获取错误信息
|
|
|
const msg = errorCode[code] || res.data.msg || errorCode['default']
|
|
|
- debugger
|
|
|
// if(res.config.url == '/auth/login'&&res.request.responseURL){
|
|
|
// window.location.href = res.request.responseURL;
|
|
|
// // window.location.href = 'https://icas.jnu.edu.cn/cas/login?service=http://localhost:8081/#/login';
|