From 8abf72e3601d4d45ec70bc94f41fc40e133acf47 Mon Sep 17 00:00:00 2001 From: Gloria Date: Tue, 31 Jan 2023 17:09:39 +0800 Subject: [PATCH] fixed c4fcd93 from https://gitee.com/wusongqing/docs/pulls/14111 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 e05a1c42cc..6550e5c628 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