wx.openEmbeddedMiniProgram半屏跳转小程序报错

小程序 文章 2022-04-01 10:00 3283 0 全屏看文

AI助手支持GPT4.0

wx.openEmbeddedMiniProgram半屏跳转小程序报错wx.openEmbeddedMiniProgram half-screen jump to applet error

wx.openEmbeddedMiniProgram半屏跳转小程序报错
框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本
小程序 Bug Android 安卓8.1.0 华为P20pro 8.0.3

点击按钮,通过wx.openEmbeddedMiniProgram半屏跳转小程序时无反应,打开控制台查看报错,报错信息如下:

wx.openEmbeddedMiniProgram is not a function

另外app.jsonembeddedAppIdList字段中已声明需要半屏跳转的小程序,且半屏跳转的小程序已通过审核;


按官方文档所属如果版本库过低应该是以跳转方式打开,而不应该是直接报错;

Framework type problem type operating system operating system version mobile phone model wechat version applet bug Android Android 8.1.0 Huawei p20pro 8.0.3 click the button and click Wx There is no response when openembeddedminiprogram jumps to the applet on half screen. Open the console to check the error message. The error message is as follows: Wx Openembeddedminiprogram is not a function app The embedded appidlist field of JSON has declared the applet that needs half screen jump, and the applet that needs half screen jump has passed the review; If the version Library of the official document is too low, it should be opened by jumping instead of directly reporting an error;

回答:

每天的下午茶由软公子买单:

wx.xxxx.is not a function 问题一般是该API需要固定版本以上的基础库才支持,而你的基础库版本过低。基础库里没有这个API就会报这个错

拾忆:

Mr.Joe:这个文档在哪,能否发下链接

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
添加业务域名一直失败?
小程序版本已经更新一年多了,为什么还有大量用户使用的是一年前的老版本?
通过公众号的登录接口获取用户code,同一个用户获取的code不一样,是什么原因造成的?
公众号注册时间哪里查看?
禁止分享页面回到首页?
随便看看
教育科技公司申请微信支付被拒绝? 4696
微信公众号免300认证教程 5777
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5188
小程序广告组件通过审核,但是小程序内没有显示广告? 4963
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9391
问题? 8912
如何快速搭建抽奖助手小程序(无需代码知识) 6042
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7346
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6671
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6001