直接运行百度小程序
- 发布:2023-05-11 13:50
- 更新:2023-05-13 11:21
- 阅读:409
产品分类: uniapp/小程序/百度
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 11
HBuilderX类型: 正式
HBuilderX版本号: 3.7.13
第三方开发者工具版本号: 6.17.1
基础库版本号: 3.7000
项目创建方式: HBuilderX
操作步骤:
预期结果:
修复
修复
实际结果:
修复
修复
bug描述:
运行到百度小程序
就会报错
[Lifecycle Error] call Component onUnload method fail:
Cannot read properties of undefined (reading 'detached')
TypeError: [Lifecycle Error] call Component onUnload method fail:
Cannot read properties of undefined (reading 'detached')
at detached (http://127.0.0.1:60233/output/app.js:748:239)
at http://127.0.0.1:60233/output/app.js:748:333
at Array.forEach (<anonymous>)
at onPageUnload (http://127.0.0.1:60233/output/app.js:748:307)
at e.onUnload (http://127.0.0.1:60233/output/app.js:750:391)
at e.value (file:///C:/Users/Administrator/AppData/Roaming/SwanIDE-rc/cli/vendor/swan-core/3.700.1/master/index.js:1:746108)
at e.value (file:///C:/Users/Administrator/AppData/Roaming/SwanIDE-rc/cli/vendor/swan-core/3.700.1/master/index.js:1:649120)
at e.value (file:///C:/Users/Administrator/AppData/Roaming/SwanIDE-rc/cli/vendor/swan-core/3.700.1/master/index.js:1:633723)
at e.value (file:///C:/Users/Administrator/AppData/Roaming/SwanIDE-rc/cli/vendor/swan-core/3.700.1/master/index.js:1:667204)
at e.value (file:///C:/Users/Administrator/AppData/Roaming/SwanIDE-rc/cli/vendor/swan-core/3.700.1/master/index.js:1:673064)
ext msg: {"lifecycleName":"onUnload"}
乐乐009 (作者)
开发者工具暂不支持 swan.addWidget 方法,请在百度APP中调试此功能
downgradeTip @ master-worker.js:1
onInit @ master-worker.js:1
a.init @ master-worker.js:1
a.onmessage @ master-worker.js:1
开发者工具暂不支持 swan.refreshWidget 方法,请在百度APP中调试此功能
downgradeTip @ master-worker.js:1
onInit @ master-worker.js:1
a.init @ master-worker.js:1
a.onmessage @ master-worker.js:1
开发者工具暂不支持 swan.addWicheckWidgetStatedget 方法,请在百度APP中调试此功能
downgradeTip @ master-worker.js:1
onInit @ master-worker.js:1
a.init @ master-worker.js:1
a.onmessage @ master-worker.js:1
开发者工具暂不支持 swan.addCustomWidget 方法,请在百度APP中调试此功能
downgradeTip @ master-worker.js:1
onInit @ master-worker.js:1
a.init @ master-worker.js:1
a.onmessage @ master-worker.js:1
开发者工具暂不支持 swan.checkCustomWidgetState 方法,请在百度APP中调试此功能
downgradeTip @ master-worker.js:1
onInit @ master-worker.js:1
a.init @ master-worker.js:1
a.onmessage @ master-worker.js:1
开发者工具暂不支持 swan.updateCustomWidgetConfig 方法,请在百度APP中调试此功能
downgradeTip @ master-worker.js:1
onInit @ master-worker.js:1
a.init @ master-worker.js:1
a.onmessage @ master-worker.js:1
由于基础库的非兼容性改动,工具在基础库3.190.255-rc及以后调用storage存储数据以及storage面板的数据展示和之前有变化,具体请关注社区官方公告
(匿名) @ D:\Users\Administrat…preload\events.js:1
(匿名) @ D:\Users\Administrat…erer\event-map.js:1
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:69
开发者工具暂不支持容器全屏状态下通过手势下滑操作切换容器到半屏状态/关闭小程序, 请在真机中调试此功能
YUANRJ
信息已经很明确了,
请在百度APP中调试此功能
2023-05-13 11:22