From 703b502ae9b0d0540de01732143d3b0df7eb6154 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Thu, 23 May 2024 14:07:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20getBatteryInfo=20=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E6=B3=A8=E9=87=8A=E8=8A=82=E7=82=B9?= 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 9f0b83c4..367327bc 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