下面是我的保存代码,其中将始终运行fail() .fail(=> @resetForm() ) console.logobj console.log JSON.parse(obj.responseText)"parsererror"
"No conversion from text to http://a
我必须为每个ajax请求设置自定义的头,是否有一种方法只完成一次,而不必在每个ajax代理中手动配置它。'xyz' // this token that every proxy should contain to communicate with our remote server. }jQuery.ajaxPrefilter(function(optio