|
|
|
@ -26,10 +26,9 @@ function locationurl(list){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// TODO 开发期多个身份切换
|
|
|
|
|
const debugType =""
|
|
|
|
|
// window.location.search.indexOf('debug=t') != -1 ? 'teacher' :
|
|
|
|
|
// window.location.search.indexOf('debug=s') != -1 ? 'student' : 'admin'
|
|
|
|
|
// window._debugType = debugType;
|
|
|
|
|
const debugType =window.location.search.indexOf('debug=t') != -1 ? 'teacher' :
|
|
|
|
|
window.location.search.indexOf('debug=s') != -1 ? 'student' : 'admin'
|
|
|
|
|
window._debugType = debugType;
|
|
|
|
|
|
|
|
|
|
export function initAxiosInterceptors(props) {
|
|
|
|
|
|
|
|
|
|