Fixed #5252 - MeterGroup: Cutoff at the beginning when the first element is 0
parent
f1c765d653
commit
f6d86453b5
|
@ -7,7 +7,7 @@
|
|||
<div :class="cx('metercontainer')" v-bind="ptm('metercontainer')">
|
||||
<template v-for="(val, index) in value" :key="index">
|
||||
<slot name="meter" :value="val" :index="index" :class="cx('meter')" :orientation="orientation" :size="percentValue(val.value)" :totalPercent="totalPercent">
|
||||
<span :class="cx('meter')" :style="meterSize(val)" v-bind="getPTOptions('meter', val, index)" />
|
||||
<span v-if="percent(val.value)" :class="cx('meter')" :style="meterSize(val)" v-bind="getPTOptions('meter', val, index)" />
|
||||
</slot>
|
||||
</template>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue