1***@qq.com
1***@qq.com
  • 发布:2023-08-20 19:39
  • 更新:2023-09-04 16:07
  • 阅读:421

百度小程序报错 组件生命周期方法执行失败

分类:uni-app

【组件 pages/index/index 的 attached 生命周期方法 执行失败】
TypeError: [Lifecycle Error] call attached method fail:
Cannot read properties of undefined (reading 'undefined')
【组件 pages/index/index 的 lifetimes onShow 生命周期方法 执行失败】
TypeError: [Lifecycle Error] call Component onShow method fail:
Cannot read properties of undefined (reading 'query')
​ 【组件 pages/index/index 的 lifetimes onLoad 生命周期方法 执行失败】
TypeError: [Lifecycle Error] call Component onLoad method fail:
Cannot set properties of undefined (setting 'query')

2023-08-20 19:39 负责人:无 分享
已邀请:
1***@qq.com

1***@qq.com

同样的问题也没找到原因

1***@qq.com

1***@qq.com

main.js 中 把 uni.getSystemInfo 去掉正常了

要回复问题请先登录注册