From f53f52070d88aff39bc6e7074a79fcf0d0bca7b0 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Thu, 23 May 2024 10:46:54 +0800 Subject: [PATCH] =?UTF-8?q?getBatteryInfo=20=E6=B3=A8=E9=87=8A=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=20=E6=96=87=E6=A1=A3=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uni-getbatteryinfo/utssdk/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uni_modules/uni-getbatteryinfo/utssdk/index.d.ts b/uni_modules/uni-getbatteryinfo/utssdk/index.d.ts index 9f0b83c..367327b 100644 --- a/uni_modules/uni-getbatteryinfo/utssdk/index.d.ts +++ b/uni_modules/uni-getbatteryinfo/utssdk/index.d.ts @@ -31,12 +31,13 @@ declare interface Uni { /** * 获取设备电量 * - * 文档: [https://uniapp.dcloud.net.cn/api/system/batteryInfo.html](https://uniapp.dcloud.net.cn/api/system/batteryInfo.html) + * @tutorial https://uniapp.dcloud.net.cn/api/system/batteryInfo.html */ getBatteryInfo(option?: UniNamespace.GetBatteryInfoOption): void; /** * 同步获取电池电量信息 + * @tutorial https://uniapp.dcloud.net.cn/api/system/batteryInfo.html */ getBatteryInfoSync(): UniNamespace.GetBatteryInfoSuccessCallbackResult; } -- GitLab