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

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

Merge pull request !14151 from wusongqing/cherry-pick-1675219823
...@@ -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.
先完成此消息的编辑!
想要评论请 注册