html52.com
我爱小程序-开发者交流社区

undefined is not an object,但是代码中没有用到 nodeId?

undefined is not an object (evaluating \'t.nodeId\')
set@https://lib/WASubContext.js:2:552548
set@https://lib/WASubContext.js:2:535818
https://usr//app-service.js:12979:63422
j@https://lib/WASubContext.js:2:56485
x@https://usr//app-service.js:12979:63360
https://usr//app-service.js:12979:70170
j@https://lib/WASubContext.js:2:56485
https://usr//app-service.js:12979:70084
https://lib/WASubContext.js:2:55264
r@https://lib/WASubContext.js:2:32364
https://lib/WASubContext.js:2:42181
I@https://lib/WASubContext.js:2:41906
https://lib/WASubContext.js:2:41944
l@https://lib/WASubContext.js:2:110826
https://lib/WASubContext.js:2:91717
https://lib/WASubContext.js:2:103992
u@https://lib/WAServiceMainContext.js:2:117038
https://lib/WAServiceMainContext.js:2:109685


用的是 Taro 框架,编译前和编译后全局都搜不到"nodeId",所以没办法定位到错误的位置。

但是线上偶尔会报错,而且都是 IOS 机型,所以也不好复现,不知道哪一步出问题了。

网友回复

微喵网络:

请移步taro官方社区

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付