From c4fcd932d577a21ca0d7df5b6a46f453929a6142 Mon Sep 17 00:00:00 2001 From: Gloria Date: Tue, 31 Jan 2023 17:09:39 +0800 Subject: [PATCH] fixed d75e561 from https://gitee.com/wusongqing/docs/pulls/14109 Update docs against 13832 Signed-off-by: wusongqing --- .../ability-startup-with-implicit-want.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/en/application-dev/application-models/ability-startup-with-implicit-want.md b/en/application-dev/application-models/ability-startup-with-implicit-want.md index ab116c430c..f163b035c7 100644 --- a/en/application-dev/application-models/ability-startup-with-implicit-want.md +++ b/en/application-dev/application-models/ability-startup-with-implicit-want.md @@ -60,13 +60,7 @@ The **module.json5** of a browser application is as follows: } catch (error) { console.info(`explicit start ability failed with ${error.code}`) } - let context = getContext(this) as common.UIAbilityContext; - await context.startAbility(want) - console.info(`explicit start ability succeed`) - } catch (error) { - console.info(`explicit start ability failed with ${error.code}`) - } - } + } ``` The matching process is as follows: -- GitLab