javascript - How does a single-page application monitor the iOS WeChat return key?
typecho2017-06-28 09:27:26
0
1
1080
Write a project using angularJs and run it on the WeChat official account. There is also a return key in the project. How can I monitor the return key of IOS WeChat?
Pressing the return key should be equivalent to history.back(), try listening to onpopstate