From 8ae51d4a5dd0556b7a4771d91b2724339aa4158d Mon Sep 17 00:00:00 2001 From: zhutianyi Date: Thu, 19 Jan 2023 09:12:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E8=87=B4=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhutianyi --- .../reference/apis/js-apis-backgroundTaskManager.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-backgroundTaskManager.md b/zh-cn/application-dev/reference/apis/js-apis-backgroundTaskManager.md index 4b7b1d0524..efed827ea4 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-backgroundTaskManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-backgroundTaskManager.md @@ -205,7 +205,7 @@ wantAgent.getWantAgent(wantAgentInfo).then((wantAgentObj) => { Stage模型示例: ```ts -import Ability from '@ohos.application.Ability' +import Ability from '@ohos.application.Ability'; import backgroundTaskManager from '@ohos.backgroundTaskManager'; import wantAgent from '@ohos.wantAgent'; @@ -297,7 +297,7 @@ wantAgent.getWantAgent(wantAgentInfo).then((wantAgentObj) => { Stage模型示例: ```ts -import Ability from '@ohos.application.Ability' +import Ability from '@ohos.application.Ability'; import backgroundTaskManager from '@ohos.backgroundTaskManager'; import wantAgent from '@ohos.wantAgent'; @@ -365,7 +365,7 @@ backgroundTaskManager.stopBackgroundRunning(featureAbility.getContext(), callbac Stage模型示例: ```ts -import Ability from '@ohos.application.Ability' +import Ability from '@ohos.application.Ability'; import backgroundTaskManager from '@ohos.backgroundTaskManager'; function callback(err, data) { @@ -422,7 +422,7 @@ backgroundTaskManager.stopBackgroundRunning(featureAbility.getContext()).then(() Stage模型示例: ```ts -import Ability from '@ohos.application.Ability' +import Ability from '@ohos.application.Ability'; import backgroundTaskManager from '@ohos.backgroundTaskManager'; export default class MainAbility extends Ability { -- GitLab