From 2330474a46b834b5264850a0b7f3c31109de5ed8 Mon Sep 17 00:00:00 2001 From: liusaimei Date: Fri, 7 Jul 2023 11:49:26 +0800 Subject: [PATCH] modify datashare Signed-off-by: liusaimei --- zh-cn/application-dev/reference/apis/js-apis-data-dataShare.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-data-dataShare.md b/zh-cn/application-dev/reference/apis/js-apis-data-dataShare.md index 0313198123..9c065da8f1 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-data-dataShare.md +++ b/zh-cn/application-dev/reference/apis/js-apis-data-dataShare.md @@ -478,8 +478,6 @@ on(type: 'publishedDataChange', uris: Array<string>, subscriberId: string, **示例:** ```ts -import rpc from '@ohos.rpc'; - function onPublishCallback(err, node:dataShare.PublishedDataChangeNode) { console.info("onPublishCallback node bundleName " + JSON.stringify(node.bundleName)); console.info("onPublishCallback node data size" + node.data.length); -- GitLab