From 0a280d8103b5a9407457f67fbc878a5756e98e81 Mon Sep 17 00:00:00 2001 From: wangyang2022 Date: Mon, 9 Jan 2023 02:13:35 +0000 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=96=99=E6=8B=BC=E5=86=99=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=95=B4=E6=94=B9=20Signed-off-by:=20wangyang2022=20=20Change-Id:=20Ic5280763511a78e36311ff9?= =?UTF-8?q?8f210f9446621e3df?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apis/js-apis-distributedMissionManager.md | 12 ++++++------ .../js-apis-inner-application-missionCallbacks.md | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-distributedMissionManager.md b/zh-cn/application-dev/reference/apis/js-apis-distributedMissionManager.md index 5eac580d1c..cc52874ddb 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-distributedMissionManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-distributedMissionManager.md @@ -394,11 +394,11 @@ continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback, callba missionId: 1, wantParam: {"key": "value"} }; - function OnContinueDone(resultCode) { - console.log('OnContinueDone resultCode: ' + JSON.stringify(resultCode)); + function onContinueDone(resultCode) { + console.log('onContinueDone resultCode: ' + JSON.stringify(resultCode)); }; var options = { - OnContinueDone: OnContinueDone + onContinueDone: onContinueDone }; try { distributedMissionManager.continueMission(parameter, options, (error) => { @@ -457,11 +457,11 @@ continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promi missionId: 1, wantParam: {"key": "value"} }; - function OnContinueDone(resultCode) { - console.log('OnContinueDone resultCode: ' + JSON.stringify(resultCode)); + function onContinueDone(resultCode) { + console.log('onContinueDone resultCode: ' + JSON.stringify(resultCode)); }; var options = { - OnContinueDone: OnContinueDone + onContinueDone: onContinueDone }; try { distributedMissionManager.continueMission(parameter, options) diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionCallbacks.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionCallbacks.md index 6c95a33062..76672e326f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionCallbacks.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionCallbacks.md @@ -1,4 +1,4 @@ -# MissionCallbacks +# MissionCallback 作为可以[registerMissionListener](js-apis-distributedMissionManager.md#distributedmissionmanagerregistermissionlistener)的入参,表示开始同步后,建立的回调函数。 -- GitLab