Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
41cf516e
authored
Aug 29, 2025
by
t0ng7u
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🤓
chore: remove the useless tooltip component
parent
aee5b8ca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
19 deletions
+3
-19
web/src/components/table/model-pricing/filter/PricingDisplaySettings.jsx
+1
-13
web/src/components/table/model-pricing/layout/header/SearchActions.jsx
+2
-5
web/src/i18n/locales/en.json
+0
-1
No files found.
web/src/components/table/model-pricing/filter/PricingDisplaySettings.jsx
View file @
41cf516e
...
...
@@ -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'
,
...
...
web/src/components/table/model-pricing/layout/header/SearchActions.jsx
View file @
41cf516e
...
...
@@ -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
}
...
...
web/src/i18n/locales/en.json
View file @
41cf516e
...
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment