Distinguish between page refreshes and closing event

NoSuchKey

Guess you like

Origin www.cnblogs.com/lskzj/p/12173028.html