Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
带有间隔或超时的脚本的刷新周期只会在从睡眠中恢复后任意触发。我将如何解决这个问题?
考虑使用调试您的应用程序$.ajaxSetup- 您需要发现错误代码并实施一些例程以重新获得会话!
$.ajaxSetup
$.ajaxSetup({ error: function(e, x, settings, exception) { console.warn(e, 'e'); console.warn(x, 'x'); console.warn(settings, 'settings'); console.warn(exception, 'exception'); } });