From 5d7bad9de660bee0d6f1df662e5ea6510480000e Mon Sep 17 00:00:00 2001 From: summer8999 Date: Mon, 3 Apr 2023 16:31:33 +0800 Subject: [PATCH] docs modify Signed-off-by: summer8999 --- .../application-dev/reference/apis/js-apis-device-manager.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-device-manager.md b/zh-cn/application-dev/reference/apis/js-apis-device-manager.md index b40d4ae681..174ec18ff9 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-device-manager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-device-manager.md @@ -462,7 +462,7 @@ getLocalDeviceInfo(): Promise<DeviceInfo> ### getDeviceInfo10+ -getDeviceInfo(callback:AsyncCallback<DeviceInfo>): void +getDeviceInfo(networkId: string, callback:AsyncCallback<DeviceInfo>): void 获取指定本地设备信息。使用callback异步回调。 @@ -500,7 +500,7 @@ getDeviceInfo(callback:AsyncCallback<DeviceInfo>): void ### getDeviceInfo10+ -getDeviceInfo(): Promise<DeviceInfo> +getDeviceInfo(networkId: string): Promise<DeviceInfo> 获取指定设备信息。使用Promise异步回调。 -- GitLab