WeChat WAService.js:1 thirdScriptError Cannot read property ‘id‘ of undefined

WeChat 错误点:
WAService.js:1 thirdScriptError
Cannot read property ‘id’ of undefined:
WeChat WAService.js:1 thirdScriptError Cannot read property ‘id‘ of undefined_第1张图片
此时切记注意
let that = this 这句话
WeChat WAService.js:1 thirdScriptError Cannot read property ‘id‘ of undefined_第2张图片
注意options前要带上 that

你可能感兴趣的:(微信小程序,学习)