|
|
@@ -44,7 +44,7 @@
|
|
|
</template>
|
|
|
<template v-slot:earningRate="{ row }">
|
|
|
<span :class="{ 'primary-color': row.nowAmount - row.startAmount > 0, 'danger-color': row.nowAmount - row.startAmount < 0 }">
|
|
|
- {{ (((row.nowAmount - row.startAmount) / row.startAmount || 1) * 100).toFixed(2) || 0 }}%
|
|
|
+ {{ (((row.nowAmount - row.startAmount) / (row.startAmount || 1)) * 100).toFixed(2) || 0 }}%
|
|
|
</span>
|
|
|
</template>
|
|
|
<template v-slot:configs="{ row }">
|