📅  最后修改于: 2022-03-11 15:03:09.793000             🧑  作者: Mango
$(document).on({
ajaxStart: function() {
$('#spinner').show();
},
ajaxSuccess: function() {
$('#spinner').hide();
}
});