微信小程序报错:Uncaught (in promise) TypeError: Cannot read property 'on' of undefined

微信小程序运行后报错,错误信息为:

Uncaught (in promise) TypeError: Cannot read property 'on' of undefined
Failed to load resource: the server responded with a status of 500

错误解决办法:

    微信开发工具中进行更换调试基础版本,如图


六月初字帖坊小程序 你想要的字帖模板及工具,这里都有!