2013-10-10 100 views

回答

4

呀,你剛剛綁定的窗口對象上的beforeunload

angular.element($window).bind("beforeunload", exitHandler)