abp
abp copied to clipboard
How do I configure abp.ajax global interception?
Like this: $.ajaxSetup({ beforeSend: function(xhr, settings) { // Do something with 'element' and 'event'... } });
You can change the abp.ajax.defaultOpts.
https://docs.abp.io/en/abp/latest/UI/AspNetCore/JavaScript-API/Ajax#default-ajax-options