各位大哥,小弟想问一下原生 js 是怎么实现小程序的 onshow 和 onhide 事件.就是原生 js 怎么监听用户离开当前页面和回到当前页面,.
https://www.cnblogs.com/52liming/p/9537987.html