请问vue 监听程序页面退出较好的解决方案是什么。1、beforeunload 2、pagehide 3、unload、4、popstate四个方案兼容性不行,尤其是iOS。 已参考链接:https://cloud.tencent.com/developer/article/1875514