bootstrap table ajax请求超时时间设置

bootstrap table ajax请求超时时间设置

bootstrap table可以设置超时时间:ajaxOptions 这个设置是依赖于jquery的ajax的设置: Additional options for submit ajax request. List of values: http://api.jquery.com/jQuery.ajax. jquery里的默认超时时间没有设置,因此为0,但是前端页面确实有超时请求的处理现象,其实是浏览器在控制着请求的超时,并且每个浏览器都超时时长都不一样。 timeout Type: Number Set a timeout (in milliseconds) for the request. A value of 0 means there will be no timeout. This will override any global timeout set with $.ajaxSetup(). The timeout period starts at the point the $.ajax call is made; if several other requests are in p