Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H5 history.pushState 在微信内修改url后点击用safari打开/复制链接是修改之前的页面 #150

Open
mishe opened this issue Dec 27, 2016 · 4 comments

Comments

@mishe
Copy link
Owner

mishe commented Dec 27, 2016

参考链接:Tencent/weui#125

这个问题一直存在,一直没有解决,难道一定要我们前端开发,用hack的方式处理吗?

目前可以解决问题的方案:页面刷新

location.reload();
@mishe
Copy link
Owner Author

mishe commented Dec 27, 2016

还发现个奇葩管理上的问题:微信6.3.31上是没有这个问题的,但最新的,6.5.X版本又重现了这个bug

微信的源码管理也是相当的糟糕啊

@swenyang
Copy link

是微信升级WKWebview引回了这个问题吗?

@mishe
Copy link
Owner Author

mishe commented Feb 10, 2017

微信中 location.reload() 还存在bug,不能刷新页面,展示的是缓存的数据,所以还得找替代方案:window.location=window.location.href

@wuchangming
Copy link

iOS 微信6.5.6版本。location.reload() 会导致通过Safari打开的按钮都消失了。。。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants