不发行就没问题

- 发布:2023-08-04 20:44
- 更新:2023-08-20 19:32
- 阅读:246
产品分类: uniapp/小程序/百度
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 19045.3208
HBuilderX类型: 正式
HBuilderX版本号: 3.8.7
第三方开发者工具版本号: 4.23.3
基础库版本号: 3.310.35
项目创建方式: HBuilderX
操作步骤:
预期结果:
正常运行
正常运行
实际结果:
【组件 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')
【组件 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')
bug描述:
百度小程序 调试运行正常,发行的就运行不了了
