From 602a4388cafab338f6d6c247e7eb18b6d0522801 Mon Sep 17 00:00:00 2001 From: lvchao_2580 Date: Wed, 27 Aug 2025 17:39:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=BB=84=E8=93=9D=E4=B8=80=E8=87=B4?= =?UTF-8?q?=E6=80=A7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lvchao_2580 --- api/@ohos.data.distributedDataObject.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.data.distributedDataObject.d.ts b/api/@ohos.data.distributedDataObject.d.ts index e11cc4ae83..0de6f78751 100644 --- a/api/@ohos.data.distributedDataObject.d.ts +++ b/api/@ohos.data.distributedDataObject.d.ts @@ -581,7 +581,7 @@ declare namespace distributedDataObject { * Off watch of change. * * @param { 'change' } type - Event type, fixed as 'change', indicates data change. - * @param { DataObserver } callback - The observer of object data changed, if not null, off the callback, if undefined, off all callbacks. + * @param { DataObserver } [callback] - The observer of object data changed, if not null, off the callback, if undefined, off all callbacks. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject * @since 20 */ @@ -601,7 +601,7 @@ declare namespace distributedDataObject { * Off watch of status. * * @param { 'status' } type - Event type, fixed as 'status', indicates the online and offline of the object. - * @param { StatusObserver } callback - The observer of object status changed, if not null, off the callback, if undefined, off all callbacks. + * @param { StatusObserver } [callback] - The observer of object status changed, if not null, off the callback, if undefined, off all callbacks. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject * @since 20 */ -- Gitee