提交 3c5f0a7f 编写于 作者: fxy060608's avatar fxy060608

电量:移除成功信息中的错误码

上级 e7a1a500
...@@ -14,8 +14,6 @@ export const getBatteryInfo : GetBatteryInfo = function (options) { ...@@ -14,8 +14,6 @@ export const getBatteryInfo : GetBatteryInfo = function (options) {
BatteryManager.BATTERY_PROPERTY_CAPACITY BatteryManager.BATTERY_PROPERTY_CAPACITY
); );
const res : GetBatteryInfoSuccess = { const res : GetBatteryInfoSuccess = {
errCode: 0,
errSubject: "uni-getBatteryInfo",
errMsg: 'getBatteryInfo:ok', errMsg: 'getBatteryInfo:ok',
level, level,
isCharging: manager.isCharging() isCharging: manager.isCharging()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册