dev_forum
杨树林 5 years ago
parent 3197b15e26
commit a9823999a1

@ -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

@ -438,7 +438,7 @@ submittojoinclass=(value)=>{
} }
if(value===1){ if(value===1){
let url="/applied_project/applied_project_info.json" let url="/api/applied_project/applied_project_info.json"
const form = new FormData(); const form = new FormData();
form.append('invite_code', tojoinclasstitle); form.append('invite_code', tojoinclasstitle);
form.append('member', RadioGroupvalue); form.append('member', RadioGroupvalue);

Loading…
Cancel
Save