wx.openAddress提示不可用
- 当前 Bug 的表现(可附上截图)
- 预期表现
wx.config({
debug: true,
appId: “${config.appid}”,
timestamp: ${config.currenttimestamp},
nonceStr: “${config.nonceStr}”,
signature: “${config.signatureStr}”,
jsApiList: [ ‘checkJsApi’,‘openAddress’,‘chooseWXPay’]
});
wx.ready(function () {
wx.checkJsApi({
jsApiList: [
‘openAddress’,
],
success: function (res) {
alert(JSON.stringify(res));
}
});
});
- 复现路径
- 提供一个最简复现 Demo