同问
网页里使用iframe内嵌了企业微信的免密登录链接, 但这个iframe会展示为空白在Android, iOS企业微信、Mac企业微信会出现这个问题。Windows企业微信却能展示正常 重现方式: 在手机端企业微信中打开一个使用iframe内嵌免密登录链接的网页,网页的大概代码示例如下(真实appid和redirect_uri我做了替换): ' <!DOCTYPE html> <html> <head> <title>测试</title> </head> <body style="border: 1px solid;"> <iframe src="https://open.weixin.qq.com/connect/oauth2/authorize?appid=abc&redirect_uri=https%3A%2F%2Fguandata.com&response_type=code&scope=snsapi_base&state=STATE" frameborder="0" width="100%" height="100%" sandbox="allow-forms allow-scripts allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin"></iframe> <body> </html> ' <!DOCTYPE html> <html> <head> <title>测试</title> </head> <body style="border: 1px solid;"> <iframe src="https://open.weixin.qq.com/connect/oauth2/authorize?appid=abc&redirect_uri=https%3A%2F%2Fguandata.com&response_type=code&scope=snsapi_base&state=STATE" frameborder="0" width="100%" height="100%" sandbox="allow-forms allow-scripts allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin"></iframe> <body> </html>
2024-11-28大佬 你问题解决了吗
安卓wx.getLocation用数据流量经常获取不到位置安卓手机调用wx.getLocation在4G数据流量下经常获取不到位置,但是用wifi就可以正常获取到。 苹果正常,测试了多款安卓手机都会出现获取不到地理位置的情况。非常不稳定 下图是代码片段小程序的截图 [图片]
2018-10-12