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.
当应用程序处于后台模式时,我在发送 ajax 时遇到问题!事实上,我的应用程序就像一个出租车应用程序,我想发送用户位置并将其发送到服务器,但是当应用程序在后台时它不起作用。我为此使用了后台模式插件。谁能帮我解决办法是什么?谢谢
您可以使用 web worker 在后台运行进程。这是文档链接