From 15b7abe8597d7c914cb5fc2f41d1d2c6c7827aef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E4=BF=9D=E5=8D=8E?= Date: Mon, 29 May 2023 08:00:32 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-enterprise-deviceSetings.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 姚保华 --- .../reference/apis/js-apis-enterprise-deviceSetings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-enterprise-deviceSetings.md b/zh-cn/application-dev/reference/apis/js-apis-enterprise-deviceSetings.md index d67905e357..af88902d29 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-enterprise-deviceSetings.md +++ b/zh-cn/application-dev/reference/apis/js-apis-enterprise-deviceSetings.md @@ -18,7 +18,7 @@ getScreenOffTime(admin: Want, callback: AsyncCallback<number>): void 指定设备管理员应用获取设备息屏时间,使用callback形式返回设备息屏时间。 -**需要权限:** ohos.permission.ENTERPRISE_SET_SCREENOFF_TIME +**需要权限:** ohos.permission.ENTERPRISE_GET_SETTINGS **系统能力:** SystemCapability.Customization.EnterpriseDeviceManager @@ -62,7 +62,7 @@ getScreenOffTime(admin: Want): Promise<number> 指定设备管理员应用获取设备息屏时间,使用Promise形式返回设备息屏时间。 -**需要权限:** ohos.permission.ENTERPRISE_SET_SCREENOFF_TIME +**需要权限:** ohos.permission.ENTERPRISE_GET_SETTINGS **系统能力:** SystemCapability.Customization.EnterpriseDeviceManager -- GitLab