data:{
sign:{}
}
methods:{
signTp(){
let sign ={
studentId:this.sign.studentID,
course_id:this.sign.course_id
};
let _this = this;
_this.loading('show');
$.fn.ajax({
type: 'POST',
url: 'http://t.elite.gaodun.com/wap/training/applyManage',
dataType: 'json',
cache:false,
data:sign
}).then((data)=> {
if(data.status === 0){
console.log(lol)
}
}).catch(()=> {
_this.broadcast(data.Message);
}).then(()=> {
this.loading('hide');
}).catch(()=> {
console.log('error');
})
}
}
还有,开发说sId和cId用数组发,status单独发是什么意思?