wx.canIUse is not a function;
发布于 5 年前 作者 pengli 7822 次浏览 来自 问答


时间: 2018-03-06 21:48:36

次数: 5分钟 10次

类型:脚本错误

错误样例: wx.canIUse is not a function;App catch error in  updateCartTabBadge function

登录公众平台小程序运维中心可查看更多错误信息


为什么刚上线一个版本,会报这个错误 呢、

这个只是 1.1.1 版本开始支持

我们小程序 后台设置的、最低1.6.4

2018-03-016.5.31222010.00%wx.canIUse is not a function;App catch error in updateCartTabBadge function
2018-03-016.5.31222100.00%wx.canIUse is not a function. (In 'wx.canIUse("setTabBarBadge")', 'wx.canIUse' is undefined);App catch error in updateCartTabBadge function
2018-03-016.5.31211100.00%wx.canIUse is not a function;App catch error in closeWindow function
2018-03-016.5.31344100.00%wx.canIUse is not a function. (In 'wx.canIUse("setTabBarBadge")', 'wx.canIUse' is undefined);App catch error in updateCartTabBadge function
2018-03-016.5.31311100.00%wx.canIUse is not a function. (In 'wx.canIUse("reLaunch")', 'wx.canIUse' is undefined);App catch error in closeWindow function
2018-03-016.5.712182090.00%wx.canIUse is not a function;App catch error in updateCartTabBadge function
2018-03-026.5.31399100.00%wx.canIUse is not a function. (In 'wx.canIUse("setTabBarBadge")', 'wx.canIUse' is undefined);App catch error in updateCartTabBadge function
2018-03-026.5.31322100.00%wx.canIUse is not a function. (In 'wx.canIUse("reLaunch")', 'wx.canIUse' is undefined);App catch error in closeWindow function
2018-03-026.5.6133560.00%wx.canIUse is not a function;App catch error in updateCartTabBadge function
2018-03-026.5.61322100.00%wx.canIUse is not a function;App catch error in closeWindow function


想问下这种问题是什么导致的



回到顶部