Ver Fonte

feat: topUp show correct symbol

feitianbubu há 2 meses atrás
pai
commit
45ebcd4f11
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      web/src/components/topup/RechargeCard.jsx

+ 1 - 1
web/src/components/topup/RechargeCard.jsx

@@ -447,7 +447,7 @@ const RechargeCard = ({
                                 style={{ margin: '0 0 8px 0' }}
                               >
                                 <Coins size={18} />
-                                {formatLargeNumber(preset.value)} $
+                                {formatLargeNumber(displayValue)} {symbol}
                                 {hasDiscount && (
                                   <Tag style={{ marginLeft: 4 }} color='green'>
                                     {t('折').includes('off')