From a34450ca9c79ccb18820173785a9532a630e988a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=90=AF=E5=9D=A4?= Date: Wed, 18 Jun 2025 14:01:30 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=A4=8D=E7=94=A8API?= =?UTF-8?q?=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: c30040248 --- api/@internal/component/ets/common.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 0a2d2edefc..215ee109e6 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -29857,7 +29857,7 @@ declare class CustomComponent extends BaseCustomComponent { * @atomicservice * @since 11 */ - aboutToReuse?(params: { [key: string]: unknown }): void; + aboutToReuse?(params: Object): void; /** * Custom component override this method to layout each of its sub components. -- Gitee From d9618c032329219c4a0cb59f46f7087d1ddd3ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=90=AF=E5=9D=A4?= Date: Wed, 18 Jun 2025 07:32:12 +0000 Subject: [PATCH 2/3] update api/@internal/component/ets/common.d.ts. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈启坤 --- api/@internal/component/ets/common.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 215ee109e6..d29976b5e6 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -29842,7 +29842,7 @@ declare class CustomComponent extends BaseCustomComponent { * Invoked when a reusable custom component is re-added to the node tree * from the reuse cache to receive construction parameters of the component. * - * @param { object } params - Custom component init params. + * @param { Object } params - Custom component init params. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 @@ -29851,7 +29851,7 @@ declare class CustomComponent extends BaseCustomComponent { * Invoked when a reusable custom component is re-added to the node tree * from the reuse cache to receive construction parameters of the component. * - * @param { object } params - Custom component init params. + * @param { Object } params - Custom component init params. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice -- Gitee From 64ff6fedf836e5f3f6b4dc13271dd4f79f620d7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=90=AF=E5=9D=A4?= Date: Wed, 18 Jun 2025 11:41:14 +0000 Subject: [PATCH 3/3] update api/@internal/component/ets/common.d.ts. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈启坤 --- api/@internal/component/ets/common.d.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index d29976b5e6..acb7c4ee1a 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -29842,7 +29842,7 @@ declare class CustomComponent extends BaseCustomComponent { * Invoked when a reusable custom component is re-added to the node tree * from the reuse cache to receive construction parameters of the component. * - * @param { Object } params - Custom component init params. + * @param { object } params - Custom component init params. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 @@ -29851,12 +29851,22 @@ declare class CustomComponent extends BaseCustomComponent { * Invoked when a reusable custom component is re-added to the node tree * from the reuse cache to receive construction parameters of the component. * - * @param { Object } params - Custom component init params. + * @param { object } params - Custom component init params. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ + /** + * Invoked when a reusable custom component is re-added to the node tree + * from the reuse cache to receive construction parameters of the component. + * + * @param { Object } params - Custom component init params. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ aboutToReuse?(params: Object): void; /** -- Gitee