在我的聊天应用程序中,我需要在关闭应用程序时从user获得确认。 所以我使用了 window.onbeforeunload 确认警报和 window.onunload logout()。
確定! 回上一頁