小程序
小游戏
企业微信
微信支付
扫描小程序码分享
(in promise) MiniProgramError undefined is not an object (evaluating 't.code是什么情况 调用不到接口
7 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
发布后 先清理缓存。设置-通用-存储空间-清理缓存
我是在真机运行时出现了这种报错,后来修改了基础库版本,降低了版本,再运行到真机就好了。
"MiniProgramError\nTypeError\nError: TypeError\nTypeError: undefined is not an object (evaluating 'window') \nat (app-service.js:6732:20)\nat S (WASubContext.js:1:770329)\nat global code (app-service.js:6733:17)\nat (native code)"
这个类似的报错请问有解决方案吗?
问题解决了吗大佬
我这也是之前好好的,今天突然用不了了
(in promise) MiniProgramError
undefined is not an object (evaluating 'e[1].data')
TypeError: undefined is not an object (evaluating 'e[1].data')
@https://usr//appservice.app.js:49:224158
q@https://lib/WASubContext.js:1:70826
@https://lib/WASubContext.js:1:71048
C@https://lib/WASubContext.js:1:40525
@https://lib/WASubContext.js:1:54347
I@https://lib/WASubContext.js:1:54116
@https://lib/WASubContext.js:1:54154
f@https://lib/WASubContext.js:1:161591
@https://lib/WASubContext.js:1:126579
@https://lib/WASubContext.js:1:156923
p@https://lib/WAServiceMainContext.js:1:161654
@https://lib/WAServiceMainContext.js:1:149883
_onNativeTimer@
global code@
undefined is not an object (evaluating 't.code')
TypeError: undefined is not an object (evaluating 't.code')
at (app-service.js:7091:9519)
at q (WASubContext.js:1:70826)
at (WASubContext.js:1:71048)
at C (WASubContext.js:1:40525)
at (WASubContext.js:1:54347)
at I (WASubContext.js:1:54116)
at (WASubContext.js:1:54154)
at f (WASubContext.js:1:161591)
at (WASubContext.js:1:126579)
at (WASubContext.js:1:156923)
at p (WAServiceMainContext.js:1:161654)
at (WAServiceMainContext.js:1:149883)
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
发布后 先清理缓存。设置-通用-存储空间-清理缓存
我是在真机运行时出现了这种报错,后来修改了基础库版本,降低了版本,再运行到真机就好了。
"MiniProgramError\nTypeError\nError: TypeError\nTypeError: undefined is not an object (evaluating 'window') \nat (app-service.js:6732:20)\nat S (WASubContext.js:1:770329)\nat global code (app-service.js:6733:17)\nat (native code)"
这个类似的报错请问有解决方案吗?
问题解决了吗大佬
我这也是之前好好的,今天突然用不了了
(in promise) MiniProgramError
undefined is not an object (evaluating 'e[1].data')
TypeError: undefined is not an object (evaluating 'e[1].data')
@https://usr//appservice.app.js:49:224158
q@https://lib/WASubContext.js:1:70826
@https://lib/WASubContext.js:1:71048
C@https://lib/WASubContext.js:1:40525
@https://lib/WASubContext.js:1:54347
I@https://lib/WASubContext.js:1:54116
@https://lib/WASubContext.js:1:54154
f@https://lib/WASubContext.js:1:161591
@https://lib/WASubContext.js:1:126579
@https://lib/WASubContext.js:1:156923
p@https://lib/WAServiceMainContext.js:1:161654
@https://lib/WAServiceMainContext.js:1:149883
_onNativeTimer@
global code@
(in promise) MiniProgramError
undefined is not an object (evaluating 't.code')
TypeError: undefined is not an object (evaluating 't.code')
at (app-service.js:7091:9519)
at q (WASubContext.js:1:70826)
at (WASubContext.js:1:71048)
at C (WASubContext.js:1:40525)
at (WASubContext.js:1:54347)
at I (WASubContext.js:1:54116)
at (WASubContext.js:1:54154)
at f (WASubContext.js:1:161591)
at (WASubContext.js:1:126579)
at (WASubContext.js:1:156923)
at p (WAServiceMainContext.js:1:161654)
at (WAServiceMainContext.js:1:149883)
_onNativeTimer@
global code@