dev_forum
杨树林 5 years ago
parent a58ed05d89
commit 5ceec24386

@ -18,10 +18,10 @@ function locationurl(list){
} }
// TODO 开发期多个身份切换 // TODO 开发期多个身份切换
// const debugType ="" const debugType =""
window.location.search.indexOf('debug=t') != -1 ? 'teacher' : // window.location.search.indexOf('debug=t') != -1 ? 'teacher' :
window.location.search.indexOf('debug=s') != -1 ? 'student' : 'admin' // window.location.search.indexOf('debug=s') != -1 ? 'student' : 'admin'
window._debugType = debugType; // window._debugType = debugType;
export function initAxiosInterceptors(props) { export function initAxiosInterceptors(props) {
// TODO 避免重复的请求 https://github.com/axios/axios#cancellation // TODO 避免重复的请求 https://github.com/axios/axios#cancellation

Loading…
Cancel
Save