From 89643944a31323f0a479966e74ed9182d14d1fda Mon Sep 17 00:00:00 2001 From: HelloCrease Date: Fri, 10 Jan 2025 10:59:35 +0800 Subject: [PATCH] cherry pick 8bc2ce6 from https://gitee.com/HelloCrease/docs/pulls/69332 cherry pick 4dcb8c0 from https://gitee.com/HelloCrease/docs/pulls/69330 update docs Signed-off-by: HelloCrease --- .../apis-arkui/js-apis-arkui-componentSnapshot.md | 10 +++++----- .../ui/arkts-common-components-symbol.md | 2 +- zh-cn/application-dev/ui/napi-xcomponent-guidelines.md | 2 ++ 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/zh-cn/application-dev/reference/apis-arkui/js-apis-arkui-componentSnapshot.md b/zh-cn/application-dev/reference/apis-arkui/js-apis-arkui-componentSnapshot.md index 8ac0b6d0834..51a984992eb 100644 --- a/zh-cn/application-dev/reference/apis-arkui/js-apis-arkui-componentSnapshot.md +++ b/zh-cn/application-dev/reference/apis-arkui/js-apis-arkui-componentSnapshot.md @@ -43,7 +43,7 @@ get(id: string, callback: AsyncCallback, options?: SnapshotOptio **错误码:** -以下错误码的详细介绍请参见[通用错误码](../errorcode-universal.md)错误码。 +以下错误码的详细介绍请参见[通用错误码](../errorcode-universal.md)。 | 错误码ID | 错误信息 | | -------- | ------------------- | @@ -121,7 +121,7 @@ get(id: string, options?: SnapshotOptions): Promise **错误码:** -以下错误码的详细介绍请参见[通用错误码](../errorcode-universal.md)错误码。 +以下错误码的详细介绍请参见[通用错误码](../errorcode-universal.md)。 | 错误码ID | 错误信息 | | ------ | ------------------- | @@ -199,7 +199,7 @@ createFromBuilder(builder: CustomBuilder, callback: AsyncCallback ```ts SymbolGlyph($r('sys.symbol.ohos_folder_badge_plus')) diff --git a/zh-cn/application-dev/ui/napi-xcomponent-guidelines.md b/zh-cn/application-dev/ui/napi-xcomponent-guidelines.md index 3b6c16d5a47..da5a0e33180 100644 --- a/zh-cn/application-dev/ui/napi-xcomponent-guidelines.md +++ b/zh-cn/application-dev/ui/napi-xcomponent-guidelines.md @@ -1651,6 +1651,8 @@ function myComponent() { ![onDestroy](./figures/onDestroy1.png) + + ## 相关实例 针对Native XComponent的使用,有以下相关实例可供参考: -- Gitee