mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-01 07:35:57 +09:00
Update number-diff.vue
This commit is contained in:
parent
76a881df39
commit
d43b17519e
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<span class="ceaaebcd" :class="{ isPlus, isMinus, isZero }">
|
<span class="ceaaebcd" :class="{ isPlus, isMinus, isZero }">
|
||||||
<slot name="before"></slot>{{ isPlus ? '+' : isMinus ? '-' : '' }}{{ number(value) }}<slot name="after"></slot>
|
<slot name="before"></slot>{{ isPlus ? '+' : '' }}{{ number(value) }}<slot name="after"></slot>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user