坑死人 。搞了我半天
IOS手机扫码报the permission value is offline verifying?手机: 苹果11 操作步骤: 1,页面加载,获取列表数据,一切正常,可以完美调起扫码 [图片] 2, 来回切换tab, 数据列表又更新多一条时,点击扫码就报错the permission value is offline verifying [图片] 3, 检查 确认config正确通过。如果是在页面加载好时就调用了JSAPI,则必须写在wx.ready的回调中。确认config的jsApiList参数包含了这个JSAPI。debug弹窗先提示 config: "ok" 问:如此神奇bug,该如何解决??????????
2021-11-08显示出来了吗,我也遇到了这个问题 ,config:ok了,但是开放标签显示不出来跟没有一样,也不报错
wx-open-launch-app 标签里面的内容不显示,怎么处理?<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>启动APP</title> <meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui"> </head> <body> <div id='wola' class="mobile-page-download"> <wx-open-launch-app id="launch-btn" appid="wxea5b413296e9ae45"> <template> <style>.btn { padding: 12px }</style> <button class="btn">App内查看</button> </template> </wx-open-launch-app> </div> </body> <script src="/js/jquery.min.js"></script> <script src="/js/xiaozhu.js"></script> <script src="//res.wx.qq.com/open/js/jweixin-1.6.0.js"></script> <script> $(function(){ $.get(`${shareUrl}wechat/jsconf?type=weixin`, function(result){ wx.config({ debug: true, appId: result.content.appId, timestamp: result.content.timestamp, nonceStr: result.content.nonceStr, signature:result.content.signature, jsApiList:result.content.jsApiList, openTagList: ['wx-open-launch-app'] }); }); wx.ready(function () { alert('ready'); }); wx.error(function (res) { alert(`error:${JSON.stringify(res)}`); }); var btn = document.getElementById('launch-btn'); btn.addEventListener('launch', function (e) { console.log('success'); }); btn.addEventListener('error', function (e) { alert(`fail:${JSON.stringify(e.detail)}`); }); }); </script> </html> [图片][图片][图片] 为了查问题,采用了最原始的开发方式写了个demo wx-open-launch-app 标签里面的内容为啥不显示? 接入方式完全按照https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_Open_Tag.html 希望官方解答,谢谢!
2021-06-01