From cef0b475d4c6382c926ce60d33504738e8bac783 Mon Sep 17 00:00:00 2001 From: wangwang Date: Thu, 15 Jun 2023 08:03:12 +0000 Subject: [PATCH] docs: The document description does not match the template. Signed-off-by: wangwang --- .../reference/apis/js-apis-system-battery.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-battery.md b/zh-cn/application-dev/reference/apis/js-apis-system-battery.md index e5063595ec..a14490915d 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-system-battery.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-battery.md @@ -25,7 +25,7 @@ getStatus(options?: GetStatusOptions): void; **参数:** -| 名称 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | options | [GetStatusOptions](#getstatusoptions) | 否 | 包含接口调用结果的对象。可选,默认为空。 | @@ -48,7 +48,7 @@ battery.getStatus({ **系统能力:** SystemCapability.PowerManager.BatteryManager.Core -| 名称 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------------------------------------- | ---- | ------------------------------------------------------------ | | success | (data: [BatteryResponse](#batteryresponse)) => void | 否 | 接口调用成功的回调函数,data为[BatteryResponse](#batteryresponse)类型的返回值。 | | fail | (data: string, code: number) => void | 否 | 接口调用失败的回调函数。data为错误信息,code为错误码。 | @@ -60,7 +60,7 @@ battery.getStatus({ **系统能力:** SystemCapability.PowerManager.BatteryManager.Core -| 名称 | 类型 | 可读 | 可写 | 说明 | +| 参数名 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | | charging | boolean | 是 | 否 | 当前电池是否在充电中。 | | level | number | 是 | 否 | 当前电池的电量,取值范围:0.00 - 1.00 。 | -- GitLab