From 9d7a928551beded895581154af412566e8c15cab Mon Sep 17 00:00:00 2001 From: liwuli Date: Fri, 25 Nov 2022 10:50:04 +0800 Subject: [PATCH] fix error Signed-off-by: liwuli --- .../reference/apis/js-apis-enterprise-dateTimeManager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-enterprise-dateTimeManager.md b/zh-cn/application-dev/reference/apis/js-apis-enterprise-dateTimeManager.md index 2c3a110b73..5ff7cf2654 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-enterprise-dateTimeManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-enterprise-dateTimeManager.md @@ -96,7 +96,7 @@ let wantTemp = { bundleName: "bundleName", abilityName: "abilityName", }; -dateTimeManager.setDateTime(admin, 1526003846000).then(() => { +dateTimeManager.setDateTime(wantTemp, 1526003846000).then(() => { }).catch((error) => { console.log("error code:" + error.code + " error message:" + error.message); }) -- GitLab