mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-03-01 00:23:11 +08:00
fix(lockscreen): 修复距离电池充满时间显示错误
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
剩余可使用时间:{{ calcDischargingTime }}
|
||||
</div>
|
||||
<span v-show="Number.isFinite(battery.chargingTime) && battery.chargingTime != 0">
|
||||
距离电池充满需要:{{ calcDischargingTime }}
|
||||
距离电池充满需要:{{ calcChargingTime }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -36,6 +36,10 @@
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
calcChargingTime: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
batteryStatus: {
|
||||
// 电池状态
|
||||
type: String,
|
||||
|
||||
Reference in New Issue
Block a user