fix income display

This commit is contained in:
2024-03-31 12:50:43 +08:00
parent 01ddc85b53
commit 78688bbd77

View File

@@ -134,7 +134,7 @@ watch(
<NTooltip>
<template #trigger>
<span style="font-size: 18px; font-weight: 500; color: #a35353">
<NNumberAnimation :from="0" :to="live.totalIncomeWithGuard" show-separator />
<NNumberAnimation :from="0" :to="new Date(live.startAt) < guartPriceStartData ? live.totalIncomeWithGuard : live.totalIncome" show-separator />
</span>
</template>
{{ live.totalIncome }}