From a55509f5d1e29a2000fe555d5e62cf7330ce1b1a Mon Sep 17 00:00:00 2001 From: wangkailong Date: Thu, 19 Jan 2023 17:02:18 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20a0686a4=20from=20https://gitee.com/wklj?= =?UTF-8?q?y/docs/pulls/13832=20want=E6=96=87=E6=A1=A3=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangkailong Change-Id: I71eee990cf1bcf216c8d0e09ff2eca8230d991b7 --- .../ability-startup-with-implicit-want.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/zh-cn/application-dev/application-models/ability-startup-with-implicit-want.md b/zh-cn/application-dev/application-models/ability-startup-with-implicit-want.md index f2c0bb04b0..bf332bf895 100644 --- a/zh-cn/application-dev/application-models/ability-startup-with-implicit-want.md +++ b/zh-cn/application-dev/application-models/ability-startup-with-implicit-want.md @@ -60,13 +60,7 @@ } 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}`) - } - } + } ``` 匹配过程如下: -- GitLab