亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - After entering the page from the menu in WeChat web development, pressing the return key does not close the browser but refreshes the current page. Any solution?
阿神
阿神 2017-06-30 09:57:38
0
1
992

I am currently developing a public account, and I am doing a spa. After entering the public account from the menu, for example, entering the A page, pressing the return key does not exit the web page, but refreshes the A page, resulting in a very poor experience, but I see other people The public accounts are all exiting the web page. I guess the reason is caused by WeChat authorization redirection. Because I copied the link after pressing return and the link before redirection are the same every time. The current requirement is that when pressing the return key, if the link is consistent with the link before redirection, exit the webpage directly instead of refreshing the page. Seek solutions. urgent! ! !

阿神
阿神

閉關(guān)修行中......

reply all(1)
扔個(gè)三星炸死你

Listen to the popstate event, and if the link is consistent with the link before redirection, execute the exit operation of jssdk

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template