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 d67905e357c417ff66e2868c6a49f6f01804a20f..af88902d2901556bcacf27d4d61f1bf50cd5b9ab 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