mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-18 05:27:27 +00:00
🤓 chore: remove the useless tooltip component
This commit is contained in:
@@ -18,9 +18,7 @@ For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { Tooltip } from '@douyinfe/semi-ui';
|
||||
import SelectableButtonGroup from '../../../common/ui/SelectableButtonGroup';
|
||||
import { IconHelpCircle } from '@douyinfe/semi-icons';
|
||||
|
||||
const PricingDisplaySettings = ({
|
||||
showWithRecharge,
|
||||
@@ -43,17 +41,7 @@ const PricingDisplaySettings = ({
|
||||
},
|
||||
{
|
||||
value: 'ratio',
|
||||
label: (
|
||||
<span className="flex items-center gap-1">
|
||||
{t('显示倍率')}
|
||||
<Tooltip content={t('倍率是用于系统计算不同模型的最终价格用的,如果您不理解倍率,请忽略')}>
|
||||
<IconHelpCircle
|
||||
size="small"
|
||||
style={{ color: 'var(--semi-color-text-2)', cursor: 'help' }}
|
||||
/>
|
||||
</Tooltip>
|
||||
</span>
|
||||
),
|
||||
label: t('显示倍率')
|
||||
},
|
||||
{
|
||||
value: 'tableView',
|
||||
|
||||
@@ -18,8 +18,8 @@ For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import React, { memo, useCallback } from 'react';
|
||||
import { Input, Button, Switch, Select, Divider, Tooltip } from '@douyinfe/semi-ui';
|
||||
import { IconSearch, IconCopy, IconFilter, IconHelpCircle } from '@douyinfe/semi-icons';
|
||||
import { Input, Button, Switch, Select, Divider } from '@douyinfe/semi-ui';
|
||||
import { IconSearch, IconCopy, IconFilter } from '@douyinfe/semi-icons';
|
||||
|
||||
const SearchActions = memo(({
|
||||
selectedRowKeys = [],
|
||||
@@ -113,9 +113,6 @@ const SearchActions = memo(({
|
||||
{/* 显示倍率开关 */}
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-sm text-gray-600">{t('倍率')}</span>
|
||||
<Tooltip content={t('倍率是用于系统计算不同模型的最终价格用的,如果您不理解倍率,请忽略')}>
|
||||
<IconHelpCircle size="small" style={{ color: 'var(--semi-color-text-2)', cursor: 'help' }} />
|
||||
</Tooltip>
|
||||
<Switch
|
||||
checked={showRatio}
|
||||
onChange={setShowRatio}
|
||||
|
||||
@@ -1891,7 +1891,6 @@
|
||||
"未知供应商": "Unknown",
|
||||
"共 {{count}} 个模型": "{{count}} models",
|
||||
"倍率信息": "Ratio information",
|
||||
"倍率是用于系统计算不同模型的最终价格用的,如果您不理解倍率,请忽略": "The ratio is used to calculate the final price of different models in the system. If you do not understand the ratio, please ignore it.",
|
||||
"多密钥管理": "Multi-key management",
|
||||
"总密钥数": "Total key count",
|
||||
"随机模式": "Random mode",
|
||||
|
||||
Reference in New Issue
Block a user