|
|
@ -17,7 +17,7 @@ function locationurl(list){
|
|
|
|
window.location.replace(list)
|
|
|
|
window.location.replace(list)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let hashTimeout
|
|
|
|
let hashTimeout
|
|
|
|
|
|
|
|
|
|
|
|
// TODO 开发期多个身份切换
|
|
|
|
// TODO 开发期多个身份切换
|
|
|
|
let debugType =""
|
|
|
|
let debugType =""
|
|
|
@ -48,7 +48,9 @@ export function initAxiosInterceptors(props) {
|
|
|
|
proxy="https://pre-newweb.educoder.net"
|
|
|
|
proxy="https://pre-newweb.educoder.net"
|
|
|
|
// proxy="http://0.0.0.0:3000"
|
|
|
|
// proxy="http://0.0.0.0:3000"
|
|
|
|
proxy="http://localweb.educoder.net";
|
|
|
|
proxy="http://localweb.educoder.net";
|
|
|
|
proxy = "http://localhost:3000"
|
|
|
|
proxy = "http://localhost:3000";
|
|
|
|
|
|
|
|
proxy = "http://localqt.educoder.net/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 在这里使用requestMap控制,避免用户通过双击等操作发出重复的请求;
|
|
|
|
// 在这里使用requestMap控制,避免用户通过双击等操作发出重复的请求;
|
|
|
@ -161,7 +163,7 @@ export function initAxiosInterceptors(props) {
|
|
|
|
if (element) {
|
|
|
|
if (element) {
|
|
|
|
element.scrollIntoView();
|
|
|
|
element.scrollIntoView();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, 400)
|
|
|
|
}, 400)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// if(response.data.status === 401){
|
|
|
|
// if(response.data.status === 401){
|
|
|
@ -213,7 +215,7 @@ export function initAxiosInterceptors(props) {
|
|
|
|
return Promise.reject(error);
|
|
|
|
return Promise.reject(error);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
// -----------------------------------------------------------------------------------
|
|
|
|
// -----------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|