Merge branch 'master' into fix-commission-rate-rounding

This commit is contained in:
ping
2024-01-30 14:37:22 +08:00
committed by GitHub
+2 -2
View File
@@ -91,7 +91,7 @@ const chartConfig = computed(() => {
offsetY: -15,
fontWeight: 500,
fontSize: '2.125rem',
formatter: (value: unknown) => `${rate.value.toFixed(0)}%`,
formatter: (value: unknown) => `${rate.value.toFixed(1)}%`,
color: primaryText,
},
total: {
@@ -99,7 +99,7 @@ const chartConfig = computed(() => {
label: 'Commission Rate',
fontSize: '1rem',
color: secondaryText,
formatter: () => `${rate.value.toFixed(0)}%`,
formatter: () => `${rate.value.toFixed(1)}%`,
},
},
},