From c20606d554f4731b50c01090305e5b010ca8556d Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Sat, 3 Aug 2024 17:19:20 +0800 Subject: [PATCH] =?UTF-8?q?docs(onError):=20=E8=A1=A5=E5=85=85=E7=BB=86?= =?UTF-8?q?=E8=8A=82=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/collocation/app.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/collocation/app.md b/docs/collocation/app.md index 2f6d3af7..e9161fff 100644 --- a/docs/collocation/app.md +++ b/docs/collocation/app.md @@ -77,7 +77,10 @@ - +:::warning +`onError` 只能监听到如生命周期、事件以及模板渲染等中的同步错误,\ +无法监听异步逻辑(例如:`setTimeout`)中的错误和应用初始化之前、 App 崩溃等错误。 +::: -- GitLab