onCheckForUpdate为什么报错?

发布于 5 年前作者 yong113718 次浏览最后编辑 5 年前来自 ask

Appid: wx9cbe36c5e9c2c131错误样例: undefined is not an object (evaluating ‘e.onCheckForUpdate’)

代码片段 https://developers.weixin.qq.com/s/ItvB2EmO7xoJ

2 回复
lisun
lisun1 楼5 年前

贴下 完整代码、搜索onCheckForUpdate方法。这个问题一般是 e为null或者undefined。导致undefined.onCheckForUpdate肯定是不存在的。