Fixed for zero numeric value
parent
78ce1c62d5
commit
eb4523a934
|
@ -2,7 +2,7 @@
|
|||
<span :class="cx('root')" v-bind="ptmi('root')">
|
||||
<component v-if="$slots.icon" :is="$slots.icon" :class="cx('icon')" v-bind="ptm('icon')" />
|
||||
<span v-else-if="icon" :class="[cx('icon'), icon]" v-bind="ptm('icon')"></span>
|
||||
<slot v-if="value || $slots.default">
|
||||
<slot v-if="value != null || $slots.default">
|
||||
<span :class="cx('label')" v-bind="ptm('label')">{{ value }}</span>
|
||||
</slot>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue