- wx-open-launch-app 报错e.detail 打印出来是空对象?急 急 急 !
1、已核对微信公众号AppID:wxef25f758e91d3bac 正常! 2、已核对微信开放平台移动应用AppID:wx26c05d5d5814393f 正常! 3、已核对微信开放平台-->公众号绑定:正常! 4、已核对微信公众号JS接口安全域名及业务域名,授权域名,白名单:正常! 5、已核对微信公众号以及微信开放平台主体信息:正常同一主体! 6、 {errMsg: "config:ok”}--》wx.config配置项: 正常! 7、已核对wx-open-launch-app弹出显示按钮:正常! 8、wx.checkJsApi-->{"checkResult":{"wx-open-launch-app":false},"errMsg":"checkJsApi:ok"}:false未知! 9、已用收藏连接跳转方式:无效;通过生成连接二维码,扫码打开:无效! 10、wx-open-launch-app显示按钮点击:报错如下; <wx-open-launch-app class="launch-button" id="launch-btn" appid="wxef25f758e91d3bac" :extinfo="app.url" @launch="onWxLaunch" @error="onWxError" @ready='onWxReady' > <script type="text/wxtag-template"> <style> .btn{ width: 320px; background: #EE6C41; border:0; color: #fff; text-align: center; height: 50px; font-size:18px; font-weight:600; line-height: 50px; border-radius:20px; outline:none; } </style> <button class="btn">APP内查看</button> </script> </wx-open-launch-app> onWxError报错: {type: "error", timeStamp: 5863.000000012107, detail: {}, target: {id: "", offsetLeft: 0, offsetTop: 0, dataset: {}}, currentTarget: { id: "launch-btn", offsetLeft: 40, offsetTop: 25, dataset: {}}, touches: [], changedTouches: [], preventDefault: preventDefault(), stopPropagation: stopPropagation(), mp: {@warning: "mp is deprecated", type: "error", timeStamp: 5863.000000012107, detail: (Circular Object), target: (Circular Object), currentTarget: (Circular Object), touches: (Circular Array), changedTouches: (Circular Array), preventDefault: preventDefault(), stopPropagation: stopPropagation()}, _processed: true} [图片][图片][图片] 连接:https://www.kokoni.ltd/home/#/pages/share/index?id=5
2022-11-25 - wx-open-launch-app 接入后跳转的怎么是金顶顶呢哈哈?
wx-open-launch-app 接入后跳转的怎么是金顶顶呢哈哈 配置检查了好几遍都感觉没问题 是我哪里没有配置对吗 [图片][图片][图片][图片] 我在微信开发者工具里调试是正常的 [图片][图片][图片][图片][图片] 困扰我好几天了 求大佬解答下感谢🙏
2024-10-30 - wx-open-launch-app 点击系统跳转弹窗“允许”后报错 launch:fail?
接入 wx-open-launch-app 的时候,检查配置和 appid 都正确,最后一步,出现跳转弹窗后,点击允许按钮后报错“launch:failed”,手机中有安装对应的app,安卓和ios都拉不起来 [图片] [图片]
2024-10-22 - 网页跳转到APP报lauch:fail?
检查了js安全域名配置,公众号id,应用id都没有问题,可有其他的排查问题方式,希望可以帮忙协助解决? 公众号id:wx23d51c26b4b6d9c7 应用id:wx613ffda2ed49564c 访问报错时间:2024-10-17:17:09
2024-10-17 - 公众号页面跳转app报错launchfail但appid没错怎么回事?
公众号添加的appid和app原本的appid不一致!但appid没写错! 换一个app的appid就能正常跳转了,不知道为什么!!请教大神答疑解惑!!感谢感谢 添加的app是已经被添加过了,咨询客服说改app名称+提交授权书就行!审核通过了!但现在跳转提示 launch:fail appid错误! h5: <wx-open-launch-app id="launch-btn" appid="wxa99c984d2d4bd217" extinfo=""> <script type="text/wxtag-template"> <style> .btn { padding: 12px; background-color: #34703F; color: #ffffff; height: 40px; width: 160px; border-radius: 18px; border: 0;z-index:999 } </style> <button class="btn">App内查看</button> </script> <script> var btn = document.getElementById('launch-btn'); btn.addEventListener('launch', function (e) { console.log('success'); //alert("success") onLauncherApp(e) }); btn.addEventListener('error', function (e) { console.log('fail', e.detail); onLauncherAppError(e) //alert(JSON.stringify(e)); //alert(JSON.stringify(e.detail)); }); const onLauncherApp = (e) => { console.log('onLauncherApp', e) if (e.isTrusted == 'false') { console.log('打开app失败 需要下载app', e) alert('打开app失败 需要下载app') } else { console.log('打开app成功', e) //alert('打开app成功') } } const onLauncherAppError = (e) => { console.log('onLauncherAppError', e) console.log('打开app失败', e) alert('打开app失败' + JSON.stringify(e.detail)) //alert(e) } </script> </wx-open-launch-app> [图片][图片]
2024-10-21