在pc端的浏览器可以获取到位置信息,但是在微信浏览器打开h5页面无法获取到位置信息

1***@qq.com
- 发布:2025-02-22 13:38
- 更新:2025-02-22 14:59
- 阅读:29



爱豆豆 - 办法总比困难多
有报错信息吗?
用官方示例测试一下呢?
https://hellouniapp.dcloud.net.cn/pages/API/get-location/get-location
1***@qq.com (作者)
试过了,当h5的是http协议的时候安卓真机无法获取,ios真机除微信浏览器外可以获取,但是改成https协议的时候,在微信浏览器无法打开h5页面,但是在其他浏览器可以获取位置,但是ios都无法获取
2025-02-22 15:37