【类 型】:factor
【原 因】:电量组件 电量剩余 改为显示百分比 【过 程】: 【影 响】:
This commit is contained in:
parent
70a20391b6
commit
f80031cea8
@ -7,7 +7,8 @@
|
|||||||
<!-- Tooltip 组件,用于显示电量或续航时间 -->
|
<!-- Tooltip 组件,用于显示电量或续航时间 -->
|
||||||
<tooltip v-if="showTooltip" class="z90" :horizontalPosition="`${batteryRemaining}%`" :backgroundColor="statusColor">
|
<tooltip v-if="showTooltip" class="z90" :horizontalPosition="`${batteryRemaining}%`" :backgroundColor="statusColor">
|
||||||
<template v-if="showBattery">
|
<template v-if="showBattery">
|
||||||
{{ batteryRemainingPower }} mAh
|
<!-- {{ batteryRemainingPower }} mAh -->
|
||||||
|
{{ batteryRemaining}}%
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
{{ endurance }} 分钟
|
{{ endurance }} 分钟
|
||||||
|
Loading…
Reference in New Issue
Block a user