动态设置,每次都会执行beforeSend. //ajax监听$.ajaxSetup({ //请求csrf-token beforeSend: function (xhr) { xhr.setRequestHeader('X-CSRF-TOKEN', localStorage.
確定! 回上一頁