ajax 对404的处理
if ((data.status && data.status == '401') || (data.statusText && data.statusText == 'No Transport')) { console.log(data); var currentUrl = window.location.href; window.location.href = currentUrl; return; }else if ((data.status && data.status == '404') || (data.statusText && data.statusText == 'Not Found')){//added by huangweii @2016-01-18 if(data.responseText){ $('body')[0].innerHTML=data.responseText; return; } }