在微信获取用户权限的时候,重定向的url偶尔会出现url错误?

发布于 6 年前作者 wei4114547 次浏览最后编辑 6 年前来自 ask

在vue-router模式为hash的情况下,公众号在获取用户权限的时候,重定向的url偶尔会出现与填的地址不一样的问题,各位老哥有过类似的问题吗

https://open.weixin.qq.com/connect/oauth2/authorize?appid=xxx&redirect_uri=http%3A%2F%2Fyang.iandyang.icu%2F%23%2F__bind__&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect

重定向地址是http://yang.iandyang.icu/\#/bind

有时候重定向地址是http://yang.iandyang.icu/\#/login,不是我在redirect_uri里填写的地址,偶发性特别强,也没有规律

有老哥遇到过类似的问题吗

1 回复
gang27
gang271 楼4 年前

你好,提供的链接无法访问,怎么操作可以复现问题?