报错原因:小程序bug。 解决办法:更新微信小程序,目前开发版本已解决该问题。 官网下载链接:https://developers.weixin.qq.com/miniprogram/dev/devtools/stable.html