T泰达T
T泰达T
  • 发布:2021-12-02 14:06
  • 更新:2021-12-02 14:12
  • 阅读:384

请问这个报错是什么意思啊?

分类:uni-app

14:04:11.411 [JS Framework] Failed to execute the callback function:
14:04:11.431 TypeError: Cannot destructure property 'resolutionWidth' of 't.screen.getCurrentSize(...)' as it is undefined.
14:04:11.452 reportJSException >>>> exception function:WEEX_CALL_JAVASCRIPT, exception:JavaScript execute error!Uncaught TypeError: Cannot destructure property 'resolutionWidth' of 't.screen.getCurrentSize(...)' as it is undefined.
14:04:11.472 [JS Framework] Failed to execute the callback function:
14:04:11.493 TypeError: Cannot read property 'id' of undefined
14:04:11.513 reportJSException >>>> exception function:WEEX_CALL_JAVASCRIPT, exception:JavaScript execute error!Uncaught TypeError: Cannot read property 'id' of undefined

真机运行就不停的循环报这个错,我也看不出来是啥。。。。screen.getCurrentSize这个方法我也搜了代码里根本没有

2021-12-02 14:06 负责人:无 分享
已邀请:
132liyh

132liyh

报错就对了,

该问题目前已经被锁定, 无法添加新回复