关于the permission value is offline verifying
方面微信官方给出的解决方案
the permission value is offline verifying
这个错误是因为 config 没有正确执行,或者是调用的 JSAPI
没有传入 config 的jsApiList
参数中。建议按如下顺序检查:
- 确认 config 正确通过。
- 如果是在页面加载好时就调用了
JSAPI
,则必须写在wx.ready
的回调中。 - 确认 config 的
jsApiList
参数包含了这个JSAPI
。