想要调起高德地图app,但是不能跳转
TypeError: Cannot read property 'location' of undefined

4***@qq.com
- 发布:2023-11-07 11:33
- 更新:2023-11-07 11:36
- 阅读:1118

喜欢技术的前端 - QQ---445849201
是的,app里面没有window对象,可以参考 https://www.pangugle.com/tech/article/uni_app/third_map_location.html
4***@qq.com (作者)
大佬,你们用的这个plus是在哪配置的?
2023-11-07 11:42
喜欢技术的前端
回复 4***@qq.com: https://www.html5plus.org/doc/zh_cn/runtime.html 设置 h5+的api,app里面可以直接用
2023-11-07 11:46
4***@qq.com (作者)
回复 喜欢技术的前端: 谢谢大佬!
2023-11-07 12:08