js在页面刷新或关闭浏览器之前执行方法

阅读 64

2022-02-11

window.onbeforeunload = function() {

//dosomething...

}

相关推荐

精彩评论(0)

0 0 举报