提交 13d417f8 编写于 作者: 杜庆泉's avatar 杜庆泉

获取电量插件 调整声明类型

上级 9e98946c
...@@ -107,7 +107,7 @@ interface Uni { ...@@ -107,7 +107,7 @@ interface Uni {
* @uniVueVersion 2,3 //支持的vue版本 * @uniVueVersion 2,3 //支持的vue版本
* *
*/ */
getBatteryInfo : GetBatteryInfo, getBatteryInfo (options : GetBatteryInfoOptions) : void,
/** /**
* 同步获取电池电量信息 * 同步获取电池电量信息
* @description 获取电池电量信息 * @description 获取电池电量信息
...@@ -134,6 +134,6 @@ interface Uni { ...@@ -134,6 +134,6 @@ interface Uni {
* @uniVueVersion 2,3 //支持的vue版本 * @uniVueVersion 2,3 //支持的vue版本
* *
*/ */
getBatteryInfoSync: GetBatteryInfoSync getBatteryInfoSync() : GetBatteryInfoResult
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册