mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-26 19:18:39 +00:00
fix: channel affinity (#2799)
* fix: channel affinity log styles * fix: Issue with incorrect data storage when switching key sources * feat: support not retrying after a single rule configuration fails * fix: render channel affinity tooltip as multiline content * feat: channel affinity cache hit * fix: prevent ChannelAffinityUsageCacheModal infinite loading and hide data before fetch * chore: format backend with gofmt and frontend with prettier/eslint autofix
This commit is contained in:
@@ -87,7 +87,12 @@ const RechargeCard = ({
|
||||
const onlineFormApiRef = useRef(null);
|
||||
const redeemFormApiRef = useRef(null);
|
||||
const showAmountSkeleton = useMinimumLoadingTime(amountLoading);
|
||||
console.log(' enabled screem ?', enableCreemTopUp, ' products ?', creemProducts);
|
||||
console.log(
|
||||
' enabled screem ?',
|
||||
enableCreemTopUp,
|
||||
' products ?',
|
||||
creemProducts,
|
||||
);
|
||||
return (
|
||||
<Card className='!rounded-2xl shadow-sm border-0'>
|
||||
{/* 卡片头部 */}
|
||||
@@ -503,7 +508,8 @@ const RechargeCard = ({
|
||||
{t('充值额度')}: {product.quota}
|
||||
</div>
|
||||
<div className='text-lg font-semibold text-blue-600'>
|
||||
{product.currency === 'EUR' ? '€' : '$'}{product.price}
|
||||
{product.currency === 'EUR' ? '€' : '$'}
|
||||
{product.price}
|
||||
</div>
|
||||
</Card>
|
||||
))}
|
||||
|
||||
@@ -651,7 +651,8 @@ const TopUp = () => {
|
||||
{t('产品名称')}:{selectedCreemProduct.name}
|
||||
</p>
|
||||
<p>
|
||||
{t('价格')}:{selectedCreemProduct.currency === 'EUR' ? '€' : '$'}{selectedCreemProduct.price}
|
||||
{t('价格')}:{selectedCreemProduct.currency === 'EUR' ? '€' : '$'}
|
||||
{selectedCreemProduct.price}
|
||||
</p>
|
||||
<p>
|
||||
{t('充值额度')}:{selectedCreemProduct.quota}
|
||||
|
||||
Reference in New Issue
Block a user