收藏
回答

网页在外部浏览器中打开可以调用高德/百度定位,但在微信浏览器中报错?

问题描述:

调用百度定位,报错:location.html?timeout=10000&maximumAge=600000&enableHighAccuracy=true&type=3:23 [Violation] Permissions policy violation: Geolocation access has been blocked because of a permissions policy applied to the current document. See https://goo.gl/EuHzyv for more details.

调用高德定位:报错:"Geolocation permission denied.",

但两者在外部浏览器打开均可正常调用,且在微信浏览器中只在https下报错,http正常

复现链接:https://wx.suofeiya.com.cn/new/wechat/employee/store


回答关注问题邀请回答
收藏

1 个回答

  • Kkkk
    Kkkk
    09-02

    请问这和问题解决了吗

    09-02
    有用
    回复
登录 后发表内容