feat: 1.升级 Ant Design Ui 至 v6 2. 修复企业充值金额输入限制

This commit is contained in:
zhanjunhao
2026-11-10 18:49:38 +08:00
parent 425077f94b
commit fc4db4e75d
106 changed files with 1417 additions and 1010 deletions
+8 -8
View File
@@ -173,7 +173,7 @@ const KeyTable = ({
: group
}
>
<Tag color='blue' bordered={false}>
<Tag color='blue' variant='filled'>
{group === 'auto' ? t('智能熔断') : group || t('默认')}
</Tag>
</Tooltip>
@@ -196,7 +196,7 @@ const KeyTable = ({
onChange={() => onToggle(token)}
/>
{extra ? (
<Tag color={extra.color} bordered={false}>
<Tag color={extra.color} variant='filled'>
{t(extra.label)}
</Tag>
) : null}
@@ -220,7 +220,7 @@ const KeyTable = ({
key: 'quota',
render: (_, token) =>
token.unlimited_quota === true || token.remain_quota < 0 ? (
<Tag color='success' bordered={false}>
<Tag color='success' variant='filled'>
{t('无限制')}
</Tag>
) : (
@@ -319,10 +319,10 @@ const DesensitizeNotice = ({ t }) => {
type='success'
showIcon
icon={<ShieldCheck size={18} />}
message={
title={
<>
{t('您的敏感数据已自动脱敏保护')}{' '}
<Tag color='success' bordered={false}>
<Tag color='success' variant='filled'>
{t('已开启')}
</Tag>
</>
@@ -412,10 +412,10 @@ const ModelsDrawer = ({ visible, onClose, token, t }) => {
title={t('可用模型列表')}
open={visible}
onClose={onClose}
maskClosable
placement='right'
width={440}
size={440}
rootClassName='km-models-drawer'
mask={{ closable: true }}
>
<dl className='km-models-info'>
<dt>{t('密钥名称')}</dt>
@@ -452,7 +452,7 @@ const ModelsDrawer = ({ visible, onClose, token, t }) => {
{categoryModels.map((model) => (
<Tooltip key={model} title={t('点击复制模型名称')}>
<Tag
bordered={false}
variant='filled'
className='km-model-chip'
role='button'
tabIndex={0}