From 57908f740d9ba97d27c63c90abf4a7c45b1e0eab Mon Sep 17 00:00:00 2001 From: VK <370725567@qq.com> Date: Mon, 15 Jul 2024 13:09:37 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9Aharmony/dev.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/tutorial/harmony/dev.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/tutorial/harmony/dev.md b/docs/tutorial/harmony/dev.md index 9ada0b3ea..ab391c56c 100644 --- a/docs/tutorial/harmony/dev.md +++ b/docs/tutorial/harmony/dev.md @@ -422,3 +422,11 @@ export function getBundleName() { 注意:在uniapp页面打印对象或数组时,需要 `JSON.stringify` ,如 `console.log("obj", JSON.stringify(obj))` ![](https://web-ext-storage.dcloud.net.cn/uni-app/harmony/dev/17210155750168uc4maboupo.png) + +### 运行出现白屏怎么解决?@q6 + +首先尝试重新编译uniapp项目,并重启模拟器或真机,如果依然白屏,那可能是你项目中有用到了鸿蒙不支持的组件或者api,可以尝试pages.json进行代码二分法排查(删除一半页面如果不白屏代表被删除的那一半页面中有造成白屏的页面) + +### 模拟器已启动,但无法连接?@q7 + +确保[签名](#signature)没有问题的情况下,尝试重启电脑 \ No newline at end of file -- GitLab