🤓 chore: remove the useless tooltip component
This commit is contained in:
parent
aee5b8caa7
commit
41cf516ec5
@ -18,9 +18,7 @@ For commercial licensing, please contact support@quantumnous.com
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Tooltip } from '@douyinfe/semi-ui';
|
|
||||||
import SelectableButtonGroup from '../../../common/ui/SelectableButtonGroup';
|
import SelectableButtonGroup from '../../../common/ui/SelectableButtonGroup';
|
||||||
import { IconHelpCircle } from '@douyinfe/semi-icons';
|
|
||||||
|
|
||||||
const PricingDisplaySettings = ({
|
const PricingDisplaySettings = ({
|
||||||
showWithRecharge,
|
showWithRecharge,
|
||||||
@ -43,17 +41,7 @@ const PricingDisplaySettings = ({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'ratio',
|
value: 'ratio',
|
||||||
label: (
|
label: t('显示倍率')
|
||||||
<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>
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'tableView',
|
value: 'tableView',
|
||||||
|
|||||||
@ -18,8 +18,8 @@ For commercial licensing, please contact support@quantumnous.com
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import React, { memo, useCallback } from 'react';
|
import React, { memo, useCallback } from 'react';
|
||||||
import { Input, Button, Switch, Select, Divider, Tooltip } from '@douyinfe/semi-ui';
|
import { Input, Button, Switch, Select, Divider } from '@douyinfe/semi-ui';
|
||||||
import { IconSearch, IconCopy, IconFilter, IconHelpCircle } from '@douyinfe/semi-icons';
|
import { IconSearch, IconCopy, IconFilter } from '@douyinfe/semi-icons';
|
||||||
|
|
||||||
const SearchActions = memo(({
|
const SearchActions = memo(({
|
||||||
selectedRowKeys = [],
|
selectedRowKeys = [],
|
||||||
@ -113,9 +113,6 @@ const SearchActions = memo(({
|
|||||||
{/* 显示倍率开关 */}
|
{/* 显示倍率开关 */}
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<span className="text-sm text-gray-600">{t('倍率')}</span>
|
<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
|
<Switch
|
||||||
checked={showRatio}
|
checked={showRatio}
|
||||||
onChange={setShowRatio}
|
onChange={setShowRatio}
|
||||||
|
|||||||
@ -1891,7 +1891,6 @@
|
|||||||
"未知供应商": "Unknown",
|
"未知供应商": "Unknown",
|
||||||
"共 {{count}} 个模型": "{{count}} models",
|
"共 {{count}} 个模型": "{{count}} models",
|
||||||
"倍率信息": "Ratio information",
|
"倍率信息": "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",
|
"多密钥管理": "Multi-key management",
|
||||||
"总密钥数": "Total key count",
|
"总密钥数": "Total key count",
|
||||||
"随机模式": "Random mode",
|
"随机模式": "Random mode",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user