未验证 提交 c9ca3352 编写于 作者: O openharmony_ci 提交者: Gitee

!14111 翻译完成:13833 want文档错误(cherry-pick)

Merge pull request !14111 from wusongqing/cherry-pick-1675156048
...@@ -60,13 +60,7 @@ The **module.json5** of a browser application is as follows: ...@@ -60,13 +60,7 @@ The **module.json5** of a browser application is as follows:
} catch (error) { } catch (error) {
console.info(`explicit start ability failed with ${error.code}`) 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: The matching process is as follows:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册