feat: 1.升级 Ant Design Ui 至 v6 2. 修复企业充值金额输入限制
This commit is contained in:
@@ -118,7 +118,7 @@ const HistoryPanel = ({ t, refreshTrigger }) => {
|
||||
key: status,
|
||||
};
|
||||
return (
|
||||
<AntTag bordered={false} color={config.color}>
|
||||
<AntTag variant='filled' color={config.color}>
|
||||
{t(config.key)}
|
||||
</AntTag>
|
||||
);
|
||||
|
||||
@@ -175,7 +175,7 @@ const RechargePanel = ({
|
||||
<Alert
|
||||
type='info'
|
||||
showIcon
|
||||
message={t(
|
||||
title={t(
|
||||
'管理员未开启在线充值功能,请联系管理员开启或使用兑换码充值。',
|
||||
)}
|
||||
/>
|
||||
|
||||
@@ -229,9 +229,9 @@ const RechargeV2 = () => {
|
||||
<Col span={8} key={option.id}>
|
||||
<Card
|
||||
className={`amount-card ${selectedAmountOption?.id === option.id ? 'selected' : ''}`}
|
||||
bodyStyle={{ padding: 20 }}
|
||||
onClick={() => handleSelectAmount(option)}
|
||||
hoverable
|
||||
styles={{ body: { padding: 20 } }}
|
||||
>
|
||||
{option.badge && (
|
||||
<Tag color={option.badge_color || 'blue'} className='badge'>
|
||||
|
||||
Reference in New Issue
Block a user