Update number-diff.vue

This commit is contained in:
syuilo 2021-10-22 15:33:56 +09:00
parent 5cf8b7fa46
commit 29f57fa031

View file

@ -1,6 +1,6 @@
<template>
<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>
</template>