From 9987b0dd0af4c2e7376ffa9f48f65f1462b1b187 Mon Sep 17 00:00:00 2001 From: LiAn Date: Fri, 25 Mar 2022 10:36:29 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-inputdevice.md. Signed-off-by: LiAn --- zh-cn/application-dev/reference/apis/js-apis-inputdevice.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-inputdevice.md b/zh-cn/application-dev/reference/apis/js-apis-inputdevice.md index b8ef5b4109..22ef7bafa7 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inputdevice.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inputdevice.md @@ -102,7 +102,7 @@ getDevice(deviceId: number, callback: AsyncCallback<InputDeviceData>): voi ``` export default { - InputDeviceData { + InputDeviceData: { deviceId : 0, name : "NA", sources : Array, @@ -138,7 +138,7 @@ function getDevice(deviceId: number): Promise ``` export default { - InputDeviceData { + InputDeviceData: { deviceId : 0, name : "NA", sources : Array, -- GitLab